[Bug 44258] New: Adding orders from a staged file: item labels show the internal keys of MarcItemFieldsToOrder
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44258 Bug ID: 44258 Summary: Adding orders from a staged file: item labels show the internal keys of MarcItemFieldsToOrder Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: adolfo.rodriguez@xercode.es QA Contact: testopia@bugs.koha-community.org Target Milestone: --- When adding orders from a staged file (acqui/addorderiso2709.pl), the items that come from MarcItemFieldsToOrder are shown in one block per item. The labels of these blocks are the internal keys of the system preference, hardcoded in addorderiso2709.tt: homebranch, holdingbranch, itype, nonpublic_note, public_note, loc, ccode, notforloan, uri, copyno, budget_code, price, callnumber and enumchron. Only three of them have a readable text (replacement price, coded location qualifier, barcode). These keys are hard to understand for the staff, and in other languages the form mixes them with the translated labels of the rest of the page (Quantity:, Price:, Fund:...). They should use readable and translatable labels, as in the rest of the staff interface: Home library:, Current library:, Item type:, Internal note:, Public note:, Shelving location:, Collection:, Not for loan:, URI:, Copy number:, Fund:, Price:, Replacement price:, Call number:, Coded location qualifier:, Barcode: and Serial enumeration / chronology:. To reproduce: 1. Set AcqCreateItem to "placing an order" 2. Set MarcItemFieldsToOrder to: homebranch: 975$a holdingbranch: 975$b itype: 975$y 3. Stage a MARC file with a record with a 975 field ($a CPL, $b CPL, $y BK) 4. Create a basket and add to it from the staged file 5. Select the record => The item block uses homebranch, holdingbranch, itype, ... as labels -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44258 Adolfo Rodríguez Taboada <adolfo.rodriguez@xercode.es> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=44257 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44258 Adolfo Rodríguez Taboada <adolfo.rodriguez@xercode.es> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|koha-bugs@lists.koha-commun |adolfo.rodriguez@xercode.es |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44258 --- Comment #1 from Adolfo Rodríguez Taboada <adolfo.rodriguez@xercode.es> --- Created attachment 212526 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212526&action=edit Bug 44258: Use readable labels for the items when adding orders from a staged file When adding orders from a staged file, the items that come from MarcItemFieldsToOrder are shown with the internal keys of the system preference as labels (homebranch, holdingbranch, itype, nonpublic_note, budget_code, enumchron...). They are hard to understand, and in other languages the form mixes these English keys with translated labels. This patch uses readable labels, the same ones used in other pages of the staff interface and in the left column of the same form (Price:, Fund:...). Most of these strings are already translated. Test plan: 1. Set AcqCreateItem to "placing an order" 2. Set MarcItemFieldsToOrder to: homebranch: 975$a holdingbranch: 975$b itype: 975$y 3. Stage a MARC file with a record with two 975 fields ($a CPL, $b CPL, $y BK and $a MPL, $b MPL, $y BK) 4. Create a basket and add to it from the staged file 5. Select the record => The item blocks use the keys of the preference as labels: homebranch, holdingbranch, itype, nonpublic_note, ... 6. Apply the patch and reload the page 7. Select the record => The item blocks use readable labels: Home library:, Current library:, Item type:, Internal note:, ... 8. Click on some labels => The matching field is focused 9. Click Save => The order is saved, with the two items -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org