Bug 11719: (follow-up) fix column sorting configuration

This patch corrects column sorting configuration to avoid an error when
sorting on the call number column. Also changed: removed obsolete UK
sort mention.

To test, search for serial subscriptions. Test sorting on all columns in
the results table with and without the RoutingSerials preference
enabled. Sorting should work correctly without error.

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Owen Leonard 2014-02-25 10:58:40 -05:00 committed by Galen Charlton
parent 0e32cd9b9f
commit b623bce396
1 changed files with 1 additions and 4 deletions

View File

@ -10,9 +10,6 @@
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
[% IF (dateformat == 'metric') %]
dt_add_type_uk_date();
[% END %]
var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, {
[% IF ( routing && CAN_user_serials_routing ) %]
"aoColumnDefs": [
@ -24,7 +21,7 @@
],
[% END %]
"aoColumns": [
null,{ "sType": "anti-the" },null,null,null,{ "sType": "title-string" },
null,{ "sType": "anti-the" },null,null,null,null,{ "sType": "title-string" }
[% IF ( routing && CAN_user_serials_routing ) %],null[% END %],null,null
],
"sPaginationType": "four_button"