]> git.koha-community.org Git - koha.git/commit
Bug 17899 - Show only mine does not work in newordersuggestion.pl
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 13 Jan 2017 15:10:20 +0000 (16:10 +0100)
committerMason James <mtj@kohaaloha.com>
Wed, 25 Jan 2017 02:07:21 +0000 (15:07 +1300)
commit1d2a92b485a6053af84bb7e7820b5aaa15860580
tree3f3bcb580ac5ffd2a265623d2533b8fbc88c89e8
parentfd8ef06f0e2eeeb4d23d334127e9295f91b0462a
Bug 17899 - Show only mine does not work in newordersuggestion.pl

Bug 12775 added a link "Show only mine" in newordersuggestion.pl.
This does not work, no results.

Also corrects the fact that click must not do default action by adding e.preventDefault().

Test plan :
- You must have suggestions you have accepted
- Create a new order from suggestion : /cgi-bin/koha/acqui/newordersuggestion.pl
- Click on Show only mine
=> Without patch the table is empty showing "No matching records found"
=> With patch you see only suggestions you have accpeted

Signed-off-by: Zoe Schoeler <crazy.mental.onion@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 1104e61635e2d567c89587c28fd9a24b4f262037)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt