[Bug 42455] New: SIP template fields should be textareas in the editor
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42455 Bug ID: 42455 Summary: SIP template fields should be textareas in the editor Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: SIP2 Assignee: koha-bugs@lists.koha-community.org Reporter: kyle@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Right now all template fields are single line text elements. SIP templates have the potential to be complicated enough to need multiple lines. Even simple templates can benefit from this: [% IF(patron.is_debarred) %]PATRON BLOCKED[% END %] can now be: [%- IF(patron.is_debarred) -%] PATRON BLOCKED [%- END -%] and [% USE date %][% manip = date.manip %][% SET od = manip.UnixDate('14 Days Ago','%Y-%m-%d') %][% patron.checkouts.search({ 'date_due' => { '>' => od }}).count %] can now be [%- USE date -%] [%- manip = date.manip -%] [%- SET od = manip.UnixDate('14 Days Ago','%Y-%m-%d') -%] [% patron.checkouts.search({ 'date_due' => { '>' => od }}).count %] -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42455 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |kyle@bywatersolutions.com |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42455 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |42447 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42447 [Bug 42447] SIP template fields in the database are too small -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42455 --- Comment #1 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Worth noting, the AE, AV and DA field templates are already textareas and do not need changed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42455 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42455 --- Comment #2 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 198082 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198082&action=edit Bug 42455: SIP template fields should be textareas in the editor Right now all template fields are single line text elements. SIP templates have the potential to be complicated enough to need multiple lines. Test Plan: 1) Edit a SIP account 2) Note custom patron fields and custom items fields a one line text boxes 3) Apply this patch 4) Rebuild the transpiled js: yarn js:build 5) Reload the the page 4) Custom patron and item fields are now textareas! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42455 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@bywatersolutions.com | |, | |kyle@bywatersolutions.com, | |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42455 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42455 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198082|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42455 --- Comment #3 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 198105 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198105&action=edit Bug 42455: SIP template fields should be textareas in the editor Right now all template fields are single line text elements. SIP templates have the potential to be complicated enough to need multiple lines. Test Plan: 1) Edit a SIP account 2) Note custom patron fields and custom items fields a one line text boxes 3) Apply this patch 4) Rebuild the transpiled js: yarn js:build 5) Reload the the page 4) Custom patron and item fields are now textareas! Signed-off-by: Charlie Arthur <carthur@slolibrary.org> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org