Bug 27790: (QA follow-up) Fix offsets due to new columns
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 23 Apr 2021 16:53:34 +0000 (12:53 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 27 Apr 2021 14:23:49 +0000 (16:23 +0200)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt

index 0d2380e..fb90eea 100644 (file)
         <td id="itemtype-filter"></td>
         <td id="locationfilter"></td>
         <td></td>
-        <td id="pickup-location"></td>
         <td></td>
+        <td id="pickup-location"></td>
         <td></td>
         </tr>
     </tfoot>
               });
           });
           $("#pickup-location").each( function () {
-              $(this).html( createSelect( holdst.fnGetColumnData(13) ) );
+              $(this).html( createSelect( holdst.fnGetColumnData(14) ) );
               $('select', this).change( function () {
-                  holdst.fnFilter( $(this).val(), 13 );
+                  holdst.fnFilter( $(this).val(), 14 );
               });
           });
         });