LP#1749475 Fix thinko in form argument for sort direction
authorDan Wells <dbw2@calvin.edu>
Thu, 21 Feb 2019 15:54:06 +0000 (10:54 -0500)
committerDan Wells <dbw2@calvin.edu>
Wed, 27 Feb 2019 19:13:00 +0000 (14:13 -0500)
This variable is for the sort direction, so should be 'sort_dir', not
'sort_by' (which is named, in this context 'sort').

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/record/print_preview.tt2

index 8fc5839..28d17d6 100644 (file)
@@ -9,7 +9,7 @@
     <br class="clear-both" />
     <div id="content-wrapper" class="content-wrapper-record-page">
 
-    <form id="previewForm" action="[% mkurl('',{},['locg','format','sort','sort_by','context_org','bre_id','is_list']) %]">
+    <form id="previewForm" action="[% mkurl('',{},['locg','format','sort','sort_dir','context_org','bre_id','is_list']) %]">
         <input type="hidden" name="old_event" value="[% ctx.preview_record.id %]"/>
         <input type="hidden" name="bre_id" value="[% ctx.bre_id %]"/>
         <input type="hidden" name="locg" value="[% ctx.selected_print_email_loc %]"/>