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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 20 Jan 2017 14:10:36 +0000 (14:10 +0000)
commit1104e61635e2d567c89587c28fd9a24b4f262037
tree79c9aa041a67aab67fad840fa88c3e224c6fe049
parent7401d9422be26c5ff900269a10e70c9ca4364de6
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>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt