Bugzilla – Attachment 136710 Details for
Bug 31066
Can't use regex in batch modification on fields associated with a plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31066: Update javascript to use 'text_plugin' type for regex option
Bug-31066-Update-javascript-to-use-textplugin-type.patch (text/plain), 1.61 KB, created by
Nick Clemens (kidclamp)
on 2022-06-29 11:26:53 UTC
(
hide
)
Description:
Bug 31066: Update javascript to use 'text_plugin' type for regex option
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-06-29 11:26:53 UTC
Size:
1.61 KB
patch
obsolete
>From 995360b0e7e453162be61b0a666cbf34493e4b0c Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 29 Jun 2022 11:23:22 +0000 >Subject: [PATCH] Bug 31066: Update javascript to use 'text_plugin' type for > regex option > >To test: > 1 - Confirm 952$o is not linked to a plugin in the default marc framework > 2 - Send some tiems to batch modification > 3 - Confirm you can select RegEx as an option for callnumber during modification > 4 - Link 952$o to the cn_browser.pl plugin > 5 - Repeat batch modification > 6 - Note there is no regex option > 7 - Apply patch > 8 - Confirm there is a regex option > 9 - Unlink 952$o from plugin >10 - Confirm you still have a regex option in batch modification >--- > koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >index a991f0ce50..97b64abd0a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >@@ -187,7 +187,7 @@ > [% END %] > > [% IF add_regex %] >- [% IF (mv.type == 'text' || mv.type == 'text2' || mv.type == 'textarea' ) %] >+ [% IF (mv.type == 'text' || mv.type == 'text_plugin' || mv.type == 'textarea' ) %] > <a href="#" name="[% kohafield | html %]_field_regex" class="field_regex" id="[% subfield.id | html %]" >RegEx</a> > [% END %] > [% END %] >-- >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 31066
:
136710
|
136749
|
137044