Bugzilla – Attachment 56234 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 Edit record uses Default framework
Bug-17405-Edit-record-uses-Default-framework.patch (text/plain), 3.09 KB, created by
Frédéric Demians
on 2016-10-12 09:05:52 UTC
(
hide
)
Description:
Bug 17405 Edit record uses Default framework
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2016-10-12 09:05:52 UTC
Size:
3.09 KB
patch
obsolete
>From 6bdb6012babee5b38390a4b4f97a9f999b65ab57 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 Edit record uses Default framework >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >In detail view (catalogue/detail.pl), when clicking on Edit > Edit >record button, the record editor should be opened with the biblio record >framework. It isn't the case. The Default framework is used. Same issue >with Edit > Edit as new (duplicate). > >TO TEST: > >1. Find a biblio record using a framework which is not the Default one. >2. See the biblio record in detail view (catalogue/detail.pl). >3. Click on Edit > Edit record. >4. Click on Settings => you can see 'Default' as selected framework. >5. Apply the patch. >6. Repeat step 3-4. => the biblio record framework is selected. >7. Repeat 3-4 using Edit > Edit as new (duplicate). > >Signed-off-by: Frédéric Demians <f.demians@tamil.fr> > Added a test plan >--- > 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.9.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 17405
:
56058
|
56083
|
56234
|
56564
|
56626