Bug 17405 Edit record uses Default framework
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 Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Fix the issue, no errors. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
35de8aa1ef
commit
f060709df0
1 changed files with 2 additions and 2 deletions
|
@ -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 %]
|
||||
|
||||
|
|
Loading…
Reference in a new issue