Bug 27900: Add a link back to the basket view if no result
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 11 Mar 2021 14:03:07 +0000 (15:03 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 15 Apr 2021 10:41:33 +0000 (12:41 +0200)
commite2571bb7fc408468b27313b8aa842483c8dd5a88
tree2cfcc1e43efcf3651a54bfd0a411aa2dfc94fb62
parent9a2c770c7e9d0020b787ecff8f81906ddd751d3b
Bug 27900: Add a link back to the basket view if no result

Since bug 24347 the neworderbiblio view has been removed and we now
display the usual search result.
When adding a new order from a search, if there is no result we should
let the user get back to the basket view.

Test plan:
Add to basket from an existing record
Do a search with no results and confirm that there is a new "Go to the
basket view" link

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
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 191184f28a5efd95994f42cafbe1e94ffff38475)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt