]> git.evergreen-ils.org Git - working/Evergreen.git/commit
lp1182605 Abstracting out common functionality from code that sorts call numbers...
authorVictoria Lewis <vcamklewis@gmail.com>
Wed, 30 Apr 2014 22:09:07 +0000 (15:09 -0700)
committerDan Wells <dbw2@calvin.edu>
Wed, 27 Aug 2014 01:45:12 +0000 (21:45 -0400)
commit59b0333ba7b4ea0cda0f35d5af4b1bc70d0a6e3a
treed1c001620617518a84fb65cf1b180eb5bdb42495
parent10ccb80d69fe6296bbd2ec086935265821fdd223
lp1182605 Abstracting out common functionality from code that sorts call numbers by label_sortkey

Code had been added to insure that LC call numbers are sorting as they should by asset.call_number.label_sortkey.
Code was duplicated in the 'call_number column' in the 'columns' group and in the 'hold_columns'group.

I abstracted the logic out of 'sort_value' and 'render' in the 'call_number' column in the 'columns' group and from
'render' in the 'call_number' column in the 'hold_columns' group to a utility function  called
'sort_call_numbers_by_label_sortkey'.

Signed-off-by: Victoria Lewis <vcamklewis@gmail.com>
modified:   xul/staff_client/server/circ/util.js
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/xul/staff_client/server/circ/util.js