[Koha-bugs] [Bug 35110] Authorities editor with JS error when only one tab
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 19 21:24:04 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35110
--- Comment #3 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 157477
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157477&action=edit
Bug 35110: Authorities editor with JS error when only one tab
Exactly like Bug 34251 for biblios :
When using the an authorities framework with all fields in the same tab, there
is thrown a JS error in selectTab( "#tab0XX_panel" );
This is because no nav tabs are build in authorities/authorities.tt as BIG_LOOP
has a length(size) of 1
Test plan :
1) Edit an authority framework, for example 'Meeting Name', to set all sufields
in tab 0
You may use SQL : UPDATE auth_subfield_structure SET tab=0 WHERE
authtypecode='MEETI_NAME'
Don't forget to restart memcached
2) Go to 'Authorities'
3) Click on 'New authority' then 'Meeting Name'
4) Check you don't see any JavaScript error
5) Check you can save
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list