Bugzilla – Attachment 148640 Details for
Bug 33160
Make sure 773 (host item entry) displays in the cart when not linked by $w
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33160: (QA follow-up) Adjust condition on biblio object
Bug-33160-QA-follow-up-Adjust-condition-on-biblio-.patch (text/plain), 4.33 KB, created by
Marcel de Rooy
on 2023-03-24 09:05:42 UTC
(
hide
)
Description:
Bug 33160: (QA follow-up) Adjust condition on biblio object
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-03-24 09:05:42 UTC
Size:
4.33 KB
patch
obsolete
>From 61974c4863b39b7403b8d2b3dfaae09eb8dd148b Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 24 Mar 2023 09:03:04 +0000 >Subject: [PATCH] Bug 33160: (QA follow-up) Adjust condition on biblio object >Content-Type: text/plain; charset=utf-8 > >If it is undefined, there is no biblionumber. >If it is, we can safely assume that it has a biblionumber. Which >is the case for most biblio records, lol. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt | 4 ++-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >index 43365f4c44..761e441c34 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >@@ -223,7 +223,7 @@ > <tr> > <th scope="row">In</th> > <td> >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES.biblionumber %] >+ [% IF BIBLIO_RESULT.HOSTITEMENTRIES %] > <p>[% INCLUDE 'biblio-title.inc' link = 1 biblio=BIBLIO_RESULT.HOSTITEMENTRIES %] [% BIBLIO_RESULT.RELATEDPARTS | html %]</p> > [% ELSE %] > <p>[% BIBLIO_RESULT.HOSTINFO | html %]</p> >@@ -300,7 +300,7 @@ > [% END %] > [% IF BIBLIO_RESULT.HOSTITEMENTRIES || BIBLIO_RESULT.HOSTINFO %] > <p>In: >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES.biblionumber %] >+ [% IF BIBLIO_RESULT.HOSTITEMENTRIES %] > [% INCLUDE 'biblio-title.inc' link = 1 biblio=BIBLIO_RESULT.HOSTITEMENTRIES %] [% BIBLIO_RESULT.RELATEDPARTS | html %] > [% ELSE %] > [% BIBLIO_RESULT.HOSTINFO | html %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >index 5f8c9a1eee..87ceda18c7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >@@ -241,7 +241,7 @@ > <th scope="row">In</th> > <td> > <p> >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES.biblionumber %] >+ [% IF BIBLIO_RESULT.HOSTITEMENTRIES %] > <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% BIBLIO_RESULT.HOSTITEMENTRIES.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT.HOSTITEMENTRIES %]</a> [% BIBLIO_RESULT.RELATEDPARTS | html %] > [% ELSE %] > [% BIBLIO_RESULT.HOSTINFO| html %] >@@ -312,7 +312,7 @@ > > [% IF BIBLIO_RESULT.HOSTITEMENTRIES || BIBLIO_RESULT.HOSTINFO %] > <p>In: >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES.biblionumber %] >+ [% IF BIBLIO_RESULT.HOSTITEMENTRIES %] > <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% BIBLIO_RESULT.HOSTITEMENTRIES.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT.HOSTITEMENTRIES %]</a> [% BIBLIO_RESULT.RELATEDPARTS | html %] > [% ELSE %] > [% BIBLIO_RESULT.HOSTINFO | html %] >-- >2.30.2
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 33160
:
147867
|
148639
|
148640
|
148641
|
148642