[Bug 13735] Item form in serials module doesn't respect max length set in the frameworks
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13735 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 84945 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84945&action=edit Bug 13735: Update PrepareItemrecordDisplay to use maxlength The PrepareItemrecordDisplay method used to generate the item display on receiving serials was using a hardcoded maxlength of 255 on input fields. This patch updates it to use the maxlength defined in the frameworks instead as the normal item form does. To test: - Create or reuse an existing subscription - Make note of the framework the record uses - Add an item on receive - Check the maxlength on the various fields is set to 255 (check source code or use developer tools) - You can also verify that by adding a long note to one of the note fields - Apply patch - Repeat tests, the maxlength should now be 9999 - In your framework settings, change the length of one of the subfields to another value - Verify that the item form reflects the change -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org