[Koha-bugs] [Bug 6484] due date sorter on 'my summary' missing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 8 18:26:43 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6484

--- Comment #3 from Owen Leonard <oleonard at myacpl.org> 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.


More information about the Koha-bugs mailing list