comparison text_tabs.lua @ 102:fe04f5c4114a

- expiring cache callback arg, handle new entries coming in during the same loop at the previous ones ALL being removed TODO: rework other "candidate" caches to use this instead - raider snapshots use string tokens for 'online' field - document callback args - CheckBoxSmallLabel preemptively apply proposed fix for ace3 ticket 304 - now that option toggles are not wedged into tight space, revert to using standard CheckBox widget instead of small-label variant (go back if ticket 304 is not fixed for release)
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Sat, 04 Aug 2012 22:03:05 +0000
parents ba5ff82dcf19
children ce45011fab4c
comparison
equal deleted inserted replaced
101:f7162a1cadc7 102:fe04f5c4114a
146 local tins, wipe, tsort, tconcat = 146 local tins, wipe, tsort, tconcat =
147 table.insert, table.wipe, table.sort, table.concat 147 table.insert, table.wipe, table.sort, table.concat
148 148
149 -- Assumption: everybody is packed into the first N groups. 149 -- Assumption: everybody is packed into the first N groups.
150 if raidertable then for name,info in pairs(raidertable) do 150 if raidertable then for name,info in pairs(raidertable) do
151 if info.online ~= 3 then -- 3 == left the raid 151 if info.online ~= 'no_longer' then -- 'no_longer' == left the raid
152 if (info.subgroup or (NUM_RAID_GROUPS+1)) <= max_group_number then 152 if (info.subgroup or (NUM_RAID_GROUPS+1)) <= max_group_number then
153 tins (ingroups, name) 153 tins (ingroups, name)
154 else 154 else
155 tins (outgroups, name) 155 tins (outgroups, name)
156 end 156 end