Bugzilla – Attachment 114144 Details for
Bug 27137
Move item doesn't show the title of the target record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27137: Correctly show biblio title after successfully moving item
Bug-27137-Correctly-show-biblio-title-after-succes.patch (text/plain), 1.94 KB, created by
Owen Leonard
on 2020-12-03 12:24:55 UTC
(
hide
)
Description:
Bug 27137: Correctly show biblio title after successfully moving item
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-12-03 12:24:55 UTC
Size:
1.94 KB
patch
obsolete
>From 2e3afbeb873d5dd6add0120200d9987e25fa7970 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Thu, 3 Dec 2020 15:50:15 +1300 >Subject: [PATCH] Bug 27137: Correctly show biblio title after successfully > moving item > >In Bug 11529 we changed the variable that was passed to the template but >missed updating the template. > >This patch ensures we correctly access the variable to show the title of >the biblio. > >To test: >1) Create two biblios (Biblio A and Biblio B) >2) Add an item to Biblio A (Item A) >3) Go to Biblio B >4) In the cataloguing toolbar, click Edit, then Attach item >5) Enter the barcode for Item A and submit >6) Notice the item has successfully moved by Biblio B's title does not >show >7) Apply patch >8) Go to Biblio A >9) In the cataloguing toolbar, click Edit, then Attach item >10) Enter the barcode for Item A and submit >11) Confirm Biblio A's title shows correctly > >Sponsored-by: Toi Ohomai Institute of Technology > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt >index 9dce4fcaf3..6af5efbde8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt >@@ -66,7 +66,7 @@ > </div> > [% END %] > >- <div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle | html %]</i></a>. >+ <div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% biblio.title | html %]</i></a>. > <p> > [% INCLUDE actions %] > <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button> >-- >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 27137
:
114128
|
114144
|
114148