Bugzilla – Attachment 145834 Details for
Bug 32555
Error when viewing serial in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32555: Fix serial vs. serialitem typo
Bug-32555-Fix-serial-vs-serialitem-typo.patch (text/plain), 2.83 KB, created by
Katrin Fischer
on 2023-01-30 23:21:33 UTC
(
hide
)
Description:
Bug 32555: Fix serial vs. serialitem typo
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-01-30 23:21:33 UTC
Size:
2.83 KB
patch
obsolete
>From 6089fd0314ee8e6f97505cd13e09e7f3ad2bc76a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 30 Jan 2023 15:38:59 -0300 >Subject: [PATCH] Bug 32555: Fix serial vs. serialitem typo > >To test: >1. Create a serial subscription > 1.1. Go to Serials > 1.2. Click on New subscription > 1.3. Fill out the first form > - Vendor: leave empty > - Record: enter a record number (I used 108) > - Create an item record when receiving this serial > - When there is an irregular issue: Keep issue number > - Manual history: leave unchecked > - Call number: leave empty > - Library: Centerville > - Public/nonpublic note: leave empty > - Patron notification: None > - Location: None > - Collection: None > - Item type: Continuing resources > - Grace period: leave empty > - Number of issues to display: leave both empty > 1.4. Click Next (and confirm you are not using a vendor) > 1.5. Fill out the second form > - First issue publication date: 2023-01-01 > - Frequency: 1/month > - Subscription length: issues 12 > - Subscription start date: 2023-01-01 > - Subscription end date: 2024-01-01 > - Numbering pattern: Number > - Locale: leave empty > - Begins with: 42 > - Inner counter: leave empty > 1.6. Click Test prediction pattern > 1.7. Click Save subscription >2. Click OPAC view: Open in new window. >=> SUCCESS: It should open normally in another tab/window and the record displays without problem >3. Back in the staff interface tab, receive an issue > 3.1. Click Receive > 3.2. In Status, choose Arrived for No. 42 > 3.3. Click Save >4. Go back to the OPAC tab and refresh >=> FAIL: Page explodes >5. Apply this patch >6. Repeat 4 >=> SUCCESS: Information shows correctly no explosions. >7. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index e97198aed4..ad1229a396 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1325,7 +1325,7 @@ > [% END %] > > [% IF ( itemdata_enumchron ) %] >- [% SET serial = ITEM_RESULT.serial %] >+ [% SET serial = ITEM_RESULT.serialitem %] > <td class="vol_info"> > [% IF ITEM_RESULT.enumchron && serial.serialseq %] > <span class="enum">[% ITEM_RESULT.enumchron | html %]</span> >-- >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 32555
:
145804
|
145807
| 145834