Bug 34233: Move select2 include out of patron-search.inc
1. Apply patch
2. Place a hold and make sure the patron pickup locations are
populating correctly again/
3. Work through the test plan on Bug 28726 to make sure it still works.
4. Enable ArticleRequests, make sure you can still do a patron search
there.
5. Do a patron search from members.tt, make sure that still works.
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c92c893c12)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
d3bd340776
commit
93877a3f8f
|
|
@ -211,7 +211,6 @@
|
|||
<script>console.log("Wrong call of patron_search_js - missing redirect_url");</script>
|
||||
[% END %]
|
||||
|
||||
[% INCLUDE 'select2.inc' %]
|
||||
<script>
|
||||
let categories = [% To.json(categories) | $raw %].map(e => {
|
||||
e['_id'] = e.categorycode.toLowerCase();
|
||||
|
|
|
|||
|
|
@ -353,6 +353,7 @@
|
|||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
[% INCLUDE 'datatables.inc' %]
|
||||
[% INCLUDE 'select2.inc' %]
|
||||
|
||||
<script>
|
||||
$('#current-article-requests').ready(function() {
|
||||
|
|
|
|||
|
|
@ -151,6 +151,7 @@
|
|||
[% INCLUDE 'columns_settings.inc' %]
|
||||
[% INCLUDE 'str/members-menu.inc' %]
|
||||
[% Asset.js("js/members-menu.js") | $raw %]
|
||||
[% INCLUDE 'select2.inc' %]
|
||||
<script>
|
||||
function showPatronSelections( number ){
|
||||
$("#patron_search_selected").show().find("span").text(_("Patrons selected: " + number ) );
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@
|
|||
</div>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
[% INCLUDE 'select2.inc' %]
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#select_all").on("click",function(e){
|
||||
|
|
|
|||
Loading…
Reference in New Issue