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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 22 Jan 2017 20:19:34 +0000 (21:19 +0100)
commit3998eadbb2c090a35fa0d0ac1cdddf16a9234634
treeedd1c0c3944e64e26e86d6e20ef4562c6b0e8eea
parent08d780aca2d905098df566a331e141ec02988ca5
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