Bugzilla – Attachment 130872 Details for
Bug 28782
Get rid of custom query param list creation for request.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28782: (QA follow-up) Bug 29844 follow-up
Bug-28782-QA-follow-up-Bug-29844-follow-up.patch (text/plain), 1.44 KB, created by
Nick Clemens (kidclamp)
on 2022-02-18 16:21:15 UTC
(
hide
)
Description:
Bug 28782: (QA follow-up) Bug 29844 follow-up
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-02-18 16:21:15 UTC
Size:
1.44 KB
patch
obsolete
>From 083d7dfae89c9c3e7a75b02e7b3abb3b26f82531 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 18 Feb 2022 16:15:55 +0000 >Subject: [PATCH] Bug 28782: (QA follow-up) Bug 29844 follow-up > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/js/pages/results.js | 1 + > reserve/request.pl | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js b/koha-tmpl/intranet-tmpl/prog/js/pages/results.js >index c7b47bdcb3..a52156b787 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/pages/results.js >@@ -343,6 +343,7 @@ function placeHold () { > bibs.push(bib); > }); > bibs.forEach(function (bib) { >+ console.log(bib); > var bib_param = $("<input>").attr("type", "hidden").attr("name", "biblionumber").val(bib); > $('#hold_form').append(bib_param); > }); >diff --git a/reserve/request.pl b/reserve/request.pl >index d86481e3da..19c5c13d0a 100755 >--- a/reserve/request.pl >+++ b/reserve/request.pl >@@ -173,7 +173,7 @@ if($findclub) { > my @clubs = Koha::Clubs->search( [ > { name => { like => '%'.$findclub.'%' } }, > { description => { like => '%'.$findclub.'%' } } >- ] ); >+ ] )->as_list; > if( scalar @clubs == 1 ) { > $club_hold = $clubs[0]->id; > } elsif ( @clubs ) { >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28782
:
123286
|
123287
|
123313
|
124510
|
124521
|
127112
|
127208
|
127209
|
129939
|
129940
|
129941
|
129942
|
130663
|
130664
|
130868
|
130869
|
130870
|
130871
|
130872
|
130873
|
130894
|
130895
|
130938
|
130939
|
130940
|
130941
|
130942
|
130943
|
131349
|
131350
|
131351
|
131352
|
131353
|
131354