http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6484
--- Comment #3 from Owen Leonard <[email protected]> 2011-07-08 16:26:43 UTC --- Created attachment 4607 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4607 Proposed fix Columns on the summary table are shown or hidden based on a variety of different settings, leading to convoluted if/else template constructions if we want to define header sorting in the <script> block. Using the jQuery Metadata plugin allows us to specify sorting options as classes on the table header. This adds a dependency but simplifies the template markup significantly. I recommend continuing to specify header sort options in the <script> block in cases where it is relatively simple to do so and saving inclusion of the additional jQuery plugin for pages which really need it. Other changes: Moved common sorter configuration detalis to default declaration; Moved the date due column so that it could be set as the default sort without taking into account multiple disappearing columns (default sort cannot be set in the markup for a <th>). -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
