[#6907] Options - Column display fields can be hidden with multiple sources
Summary Options - Column display fields can be hidden with multiple sources
Queue Turba
Queue Version 2.2
Type Enhancement
State Resolved
Priority 1. Low
Owners Horde Developers, Michael Rubinsky <mrubinsk (at) horde (dot) org>
Requester mark (dot) manning (at) nexussafe (dot) com
Created 06/12/2008 (116 days ago)
Due 06/12/2008 (116 days ago)
Updated 06/12/2008 (116 days ago)
Assigned 06/12/2008 (116 days ago)
Resolved 06/12/2008 (116 days ago)
Attachments columnselect.inc.patch Download
Milestone
Patch No

History
06/12/2008 Michael Rubinsky Comment #3
State ⇒ Resolved
Reply to this comment
Makes sense to me...committed and merging, thanks!
06/12/2008 CVS Commit Comment #2 Reply to this comment
06/12/2008 Chuck Hagenbuch State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
Assigned to Michael Rubinsky
 
06/12/2008 mark (dot) manning (at) nexussafe (dot) com Comment #1
New Attachment: columnselect.inc.patch Download
Milestone ⇒
Queue ⇒ Turba
Due ⇒ 06/12/2008
Summary ⇒ Options - Column display fields can be hidden with multiple sources
Type ⇒ Enhancement
Priority ⇒ 1. Low
State ⇒ New
Reply to this comment
On the column options prefs page, if you have multiple sources with 
the same field names and one or more of those fields is selected for 
display in one source it will not be a visible for selecting in the 
other sources.  Note that this only applies if you have saved the 
setting and come back to the page.

Attached is a patch that should fix the problem.  The cause was that 
the selected fields array was not cleared so if the next source had no 
selections you never went into the "selected items" loop but used 
those field names to to skip over in the "unselected items" loop that 
followed.