Bugzilla – Attachment 95605 Details for
Bug 23987
batchMod.pl provides a link back to the record after the record is deleted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23987: Use src=CATALOGUING for edition/deletion in batch from items table
Bug-23987-Use-srcCATALOGUING-for-editiondeletion-i.patch (text/plain), 1.98 KB, created by
Jonathan Druart
on 2019-11-20 10:07:30 UTC
(
hide
)
Description:
Bug 23987: Use src=CATALOGUING for edition/deletion in batch from items table
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-11-20 10:07:30 UTC
Size:
1.98 KB
patch
obsolete
>From 51aa803a4de49ac1088392c88488335e51332741 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 20 Nov 2019 10:53:32 +0100 >Subject: [PATCH] Bug 23987: Use src=CATALOGUING for edition/deletion in batch > from items table > >There are 2 ways to land in batchMod from the detail page of a bib >record: from the Edit menu, and the action buttons on top of the items >table. > >We want the same behavior for both and so use src=CATALOGUING >It will make batchMod to behave identically for the "return" button >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 571f3b2395..c0bffbfdd6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -872,7 +872,7 @@ > if (itemnumbers.length > 0) { > var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1'; > url += '&itemnumber=' + itemnumbers.join('&itemnumber='); >- url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]'; >+ url += '&src=CATALOGUING'; > $('a.itemselection_action_delete').attr('href', url); > } else { > return false; >@@ -888,7 +888,7 @@ > if (itemnumbers.length > 0) { > var url = '/cgi-bin/koha/tools/batchMod.pl?op=show'; > url += '&itemnumber=' + itemnumbers.join('&itemnumber='); >- url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]'; >+ url += '&src=CATALOGUING'; > $('a.itemselection_action_modify').attr('href', url); > } else { > return false; >-- >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 23987
:
95605
|
95606
|
95711
|
95712
|
95757
|
95758