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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Apr 2021 13:56:30 +0000 (15:56 +0200)
commit191184f28a5efd95994f42cafbe1e94ffff38475
tree49733cb92a021ac55583cb58adf5e3c7f5d6107a
parentfb77238117cf94388bea896d57b7cf78e47fd43a
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>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt