Summary: | Circulation rules edit row select elements don't always update when selecting new row for editing | ||
---|---|---|---|
Product: | Koha | Reporter: | Mikko Liimatainen <mikko.liimatainen> |
Component: | System Administration | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | minor | ||
Priority: | P5 - low | CC: | emmi.takkinen, gmcharlt |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34585 | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: |
Description
Mikko Liimatainen
2023-09-19 07:48:01 UTC
I think it's not intended that you can add multiple rules without saving, you have to edit one after the other. Can you maybe add a step by step? I don't fully understand the problem from your description I think. It is not my intention to edit multiple rows. I just want to be able to switch edit rows without issues. Step by step based on sandbox patron categories and itemtypes: 1. Create rules for all itemtypes and patron category all. 2. Create rules for all itemtypes and patron category patron. 3. Select rule for patron category and itemtype books (patron_books) for editing. 4. Select rule all_music for editing. Notice that on the edit row patron category stays as patron. 5. Select rule all_maps for editing. Notice that on the edit row patron category stays as patron. 6. Select rule all_music for editing. Notice that on the edit row patron category stays as patron and item type stays as maps. 7. Select rule patron_books for editing. Notice that on the edit row patron category stays as patron and item type stays as maps. 8. Check edit row item type column select element options with browser inspect. Notice that multiple option values have selected attribute. I believe this is a same problem which was discovered in bug 34585. I wrote second patch "Bug 34585: Fix behaviour of select dropdowns when editing circulation rules" to fix this. (In reply to Emmi Takkinen from comment #4) > I believe this is a same problem which was discovered in bug 34585. I wrote > second patch "Bug 34585: Fix behaviour of select dropdowns when editing > circulation rules" to fix this. Yes this is about those persisting selected attributes and that patch seems to correct the issue. |