Summary: | Checking 'Display only used Tags/Subfields' on MARC framework page results in unusable output | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | System Administration | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | major | ||
Priority: | P5 - low | CC: | bgkriegel, chris, dcook, gmcharlt, jonathan.druart, josef.moravec, katrin.fischer, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
URL: | /cgi-bin/koha/admin/marctagstructure.pl | ||
See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12477 | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Bug Depends on: | |||
Bug Blocks: | 1487 | ||
Attachments: |
Screenshot of the problematic display
Screenshot of 'fixed' display Bug 6007: Fix MARC framework display when only used tags/subfields [SIGNED-OFF] Bug 6007: Fix MARC framework display when only used tags/subfields [PASSED QA] Bug 6007: Fix MARC framework display when only used tags/subfields |
This is better in current master. All columns still show up, as do the links for editing, but the table is way too wide, requiring you to scroll. Created attachment 29315 [details]
Screenshot of 'fixed' display
Problem with this is value stored in 'seealso' column, e.g. for 650$a
(/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=650&frameworkcode=BKS)
See also:
'100b','100c','100q','100d','100e','110a','110b','110c','110d','110e','111a','111e','111c','111d','130a','700a','700b','700c','700q','700d','700e','710a','710b','710c','710d','710e','711a','711e','711c','711d','720a','720e','796a','796b','796c','796q','796d','796e','797a','797b','797c','797d','797e','798a','798e','798c','798d','800a','800b','800c','800q','800d','800e','810a','810b','810c','810d','810e','811a','811e','811c','811d','896a','896b','896c','896q','896d','896e','897a','897b','897c','897d','897e','898a','898e','898c','898d','505r'
Now, what's the use of this value?
Can't be edited and is not displayed on record editor nor framework editor.
AFAIK, it only exists in database.
Can it be set to NULL?
I did that, and the the view is more 'normal'
Hi Bernardo, I think this is a leftover from NoZebra. Created attachment 37563 [details] [review] Bug 6007: Fix MARC framework display when only used tags/subfields The "Display only used tags/subfields" output breaks DataTables and the output is unusable. Test plan: 1/ Go on admin/marctagstructure.pl after you have selected a framework 2/ Check the checkbox 3/ The table should be correctly displayed. Before this patch, the table have 2 lines per tag, now all data are contained into the same line. Since an error appears, I consider this one as major. Created attachment 37568 [details] [review] [SIGNED-OFF] Bug 6007: Fix MARC framework display when only used tags/subfields The "Display only used tags/subfields" output breaks DataTables and the output is unusable. Test plan: 1/ Go on admin/marctagstructure.pl after you have selected a framework 2/ Check the checkbox 3/ The table should be correctly displayed. Before this patch, the table have 2 lines per tag, now all data are contained into the same line. Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Created attachment 37659 [details] [review] [PASSED QA] Bug 6007: Fix MARC framework display when only used tags/subfields The "Display only used tags/subfields" output breaks DataTables and the output is unusable. Test plan: 1/ Go on admin/marctagstructure.pl after you have selected a framework 2/ Check the checkbox 3/ The table should be correctly displayed. Before this patch, the table have 2 lines per tag, now all data are contained into the same line. Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Patch pushed to master. Thanks Jonathan! Template changes holding for 3.18.7 Applied on 3.18.x will be in 3.18.7 |
Created attachment 3531 [details] Screenshot of the problematic display When looking at tags for a particular MARC framework, if you check the 'Display only used Tags/Subfields' the page automatically reloads and the table redisplays in a way that is unusable. The table columns no longer match the header and there are no longer links for editing, deleting, etc.