Bugzilla – Attachment 56083 Details for
Bug 17405
Edit record uses Default framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17405 - The creation of the url on cat-toolbar.inc is using obsolete current_framework
Bug-17405---The-creation-of-the-url-on-cat-toolbar.patch (text/plain), 2.82 KB, created by
Owen Leonard
on 2016-10-10 08:25:54 UTC
(
hide
)
Description:
Bug 17405 - The creation of the url on cat-toolbar.inc is using obsolete current_framework
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-10-10 08:25:54 UTC
Size:
2.82 KB
patch
obsolete
>From 63416ef9efc4c07da68401a855260d3c954c2950 Mon Sep 17 00:00:00 2001 >From: Rodrigo Santellan <rsantellan@gmail.com> >Date: Mon, 10 Oct 2016 04:20:12 -0400 >Subject: [PATCH] Bug 17405 - The creation of the url on cat-toolbar.inc is > using obsolete current_framework >Content-Type: text/plain; charset="utf-8" > >When viewing a biblio the url generated for editing generated is with >the parameters: current_framework that is not initialized anywhere. This >patch removes the parameter because it is not necessary > >To test, apply the patch and view the detail page for a bibliographic >record which uses a framework other than the default. > >Test that the "Edit" and "Edit as new (duplicate)" loads the >MARC editor using the correct framework. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc >index b809c4e..0c10e63 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc >@@ -158,7 +158,7 @@ CAN_user_serials_create_subscription ) %] > <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button> > <ul class="dropdown-menu"> > [% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] >- <li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&frameworkcode=[% current_framework %]&op=">Edit record</a></li> >+ <li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]">Edit record</a></li> > [% END %] > > [% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] >@@ -187,7 +187,7 @@ CAN_user_serials_create_subscription ) %] > [% IF ( LocalCoverImages || OPACLocalCoverImages) %][% IF ( CAN_user_tools_upload_local_cover_images ) %]<li><a href="/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image">Upload image</a>[% END %][% END %] > > [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] >- <li><a id="duplicatebiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&frameworkcode=[% current_framework %]&op=duplicate">Edit as new (duplicate)</a></li> >+ <li><a id="duplicatebiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&op=duplicate">Edit as new (duplicate)</a></li> > <li><a href="#" id="z3950copy">Replace record via Z39.50/SRU</a></li> > [% END %] > >-- >2.1.4
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 17405
:
56058
|
56083
|
56234
|
56564
|
56626