[Koha-bugs] [Bug 9456] Add callnumber column to the cart

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 28 20:46:54 CET 2013


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

--- Comment #10 from Kyle M Hall <kyle at bywatersolutions.com> ---
Owen, I think you may find this followup to your patch more acceptable than my
original patch. This one looks more like my original patch, but the sorting is
actually done using the best suited callnumber for each given row ( by using
custom sorting filters for that table column ).

When sorting by Items in ascending fashion, the filter uses the highest valued
callnumber from each row for sorting. When sorting by Items descending, it uses
the lowest valued callnumber from each row.

Test plan:
1) Apply all the patches.
2) Create a record with two items, make one a very high callnumber ( e.g.
'00000' ) and one a very low callnumber ( e.g. 'ZZZZZ' ).
3) Add this record and a number of other records to the cart.
4) View the cart and sort the Items in both ascending and descending fashion.
5) You should see that the item you created always stays on top because it
contains both the highest valued and the lowest valued callnumbers in the list!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list