]> git.koha-community.org Git - koha.git/commit
Bug 30426: Add missing C4::Auth and C4::Output imports
authorDavid Cook <dcook@prosentient.com.au>
Thu, 31 Mar 2022 23:02:35 +0000 (23:02 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 15 Apr 2022 11:26:26 +0000 (07:26 -0400)
commit4caac3189ec9b45337677b710caa6e4737eedc93
tree1cb25eb818a78b0f8f7222113185b55a869f5b61
parent0cf26c1f2b8578878e75478e586b45984c4fff3b
Bug 30426: Add missing C4::Auth and C4::Output imports

This patch adds missing function imports for C4::Auth and C4::Output
in the opac/svc/suggestion script.

Test plan:

1. Go to http://localhost:8081/cgi-bin/koha/admin/didyoumean.pl
2. Turn on some plugins
3. Go to http://localhost:8080/cgi-bin/koha/opac-search.pl?idx=&q=test&weight_search=1
4. Note in your browser's Network tab that the call to
   http://localhost:8080/cgi-bin/koha/svc/suggestion?render=stub&q=test
   generates a 200 response instead of a 500 error

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
opac/svc/suggestion