Bug 26406: Fix suggestions filter at the OPAC
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 8 Sep 2020 13:21:24 +0000 (15:21 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 19 Feb 2021 15:11:30 +0000 (16:11 +0100)
commit60e8b511008bfa2d2b984120d0ea1468be7e2abf
treee1436a6bf2e58eb813362c90bc58f07762d34ce4
parent465f33b09b1193b7bb8fab3a8b5076c0943f7d20
Bug 26406: Fix suggestions filter at the OPAC

There is an input filter but it does nothing

Test plan:
You need 2 differents users, U1 and U2
Create several (at least one) suggestions for each of them
Test the following with and without OPACViewOthersSuggestions:
With U1 logged in, go to the suggestions tab and use the input to filter
the suggestions.
It should work correctly.
Also play with the "Suggested by" options

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit ee0384184630b6c1b4c74e7a250e1cbc71c3e17f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt
opac/opac-suggestions.pl