Bugzilla – Attachment 119107 Details for
Bug 27900
regression: add from existing record with null results deadends
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27900: Add a link back to the basket view if no result
Bug-27900-Add-a-link-back-to-the-basket-view-if-no.patch (text/plain), 2.07 KB, created by
Séverine Queune
on 2021-04-02 09:33:15 UTC
(
hide
)
Description:
Bug 27900: Add a link back to the basket view if no result
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2021-04-02 09:33:15 UTC
Size:
2.07 KB
patch
obsolete
>From 1074250103445ee8c7881813b9a379396ce35806 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 11 Mar 2021 15:03:07 +0100 >Subject: [PATCH] Bug 27900: Add a link back to the basket view if no result >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index a2ba28ec6e..caf045889f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -326,6 +326,9 @@ > <p> > No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc | html %]'</span>[% END %][% IF ( limit_desc ) %] with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %]. > </p> >+ [% IF CAN_user_acquisition_order_manage && searchtoorder_basketno && searchtoorder_vendorid %][%# Coming from the basket or vendor view %] >+ <p><a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% searchtoorder_basketno %]">Go to the basket view<a></p> >+ [% END %] > [% ELSE %] > <p>You did not specify any search criteria.</p> > [% END %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27900
:
118126
|
119107
|
119133
|
119134
|
119135