Bugzilla – Attachment 154554 Details for
Bug 34240
Add hint about having to use Koha-to-MARC mappings for Koha link in frameworks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34240: Added hint about having to use Koha-to-MARC mappings for Koha link in frameworks
Bug-34240-Added-hint-about-having-to-use-Koha-to-M.patch (text/plain), 2.98 KB, created by
Pascal Uphaus
on 2023-08-17 12:16:44 UTC
(
hide
)
Description:
Bug 34240: Added hint about having to use Koha-to-MARC mappings for Koha link in frameworks
Filename:
MIME Type:
Creator:
Pascal Uphaus
Created:
2023-08-17 12:16:44 UTC
Size:
2.98 KB
patch
obsolete
>From 318bf623816f4b65013ff985ae3fa048bbc7e546 Mon Sep 17 00:00:00 2001 >From: Pascal Uphaus <pascal.uphaus@gwdg.de> >Date: Thu, 17 Aug 2023 11:58:24 +0000 >Subject: [PATCH] Bug 34240: Added hint about having to use Koha-to-MARC > mappings for Koha link in frameworks > >To test: >1. Go to administration > marc bibliographic framework > choose framework > marc structure >choose any tag >2. go to actions and edit subfields >3. check that the koha link pulldown can not be edited >=> There is no hint >4. Apply patch >5. Refresh the page, the select box is replaced by text and there is a hint on how to edit >--- > .../prog/en/modules/admin/marc_subfields_structure.tt | 11 ++--------- > 1 file changed, 2 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >index 9c7bbdd163..8223f767d7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >@@ -265,17 +265,10 @@ > <li> > <label for="kohafield[% loo.row | html %]">Koha link:</label> > <!-- This select should be DISABLED; value is submitted by the following hidden input --> >- <select name="kohafield_[% loo.row | html %]" id="kohafield[% loo.row | html %]" disabled> >- [% FOREACH value IN loo.kohafields %] >- [% IF ( value == loo.kohafield ) %] >- <option value="[% value | html %]" selected="selected">[% value | html %]</option> >- [% ELSE %] >- <option value="[% value | html %]">[% value | html %]</option> >- [% END %] >- [% END %] >- </select> >+ [% loo.kohafield %] > <!-- Do NOT remove this next hidden input! We need it to save kohafield. --> > <input type="hidden" name="kohafield_[% loo.row | html %]" value="[% loo.kohafield | html %]"/> >+ <div class="hint">Edit in 'Koha to MARC mapping'</div> > </li> > </ol> > </fieldset> <!-- /.rows --> >-- >2.30.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 34240
:
154549
|
154554
|
154555
|
154564
|
154565