Koha/koha-tmpl/intranet-tmpl/prog/en/modules/authorities
Fridolin Somers 32e301df15
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

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Bug 35110: (follow-up) Fix comment in addbiblio.tt

Change comment in addbiblio.tt since any biblio framework may use only
one tab.
Also fixes indenting using 4 spaces.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Edit: squashed because follow-up fixes code introduced by the same
author.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-20 17:22:03 -03:00
..
auth_finder.tt Bug 33910: Improve translation of title tags: Authorities 2023-08-29 14:59:06 -03:00
authorities-home.tt Bug 6419: Add StaffAuthoritiesHome block to additional contents 2023-10-18 15:41:29 -03:00
authorities.tt Bug 35110: Authorities editor with JS error when only one tab 2023-10-20 17:22:03 -03:00
blinddetail-biblio-search.tt Bug 33910: (follow-up) Remove mistaken addition of 'USE raw' 2023-08-29 14:59:07 -03:00
detail.tt Bug 35058: Automatically show authority tab 0 if DefaultAuthorityTab is empty 2023-10-18 15:41:25 -03:00
merge.tt Bug 33910: Improve translation of title tags: Authorities 2023-08-29 14:59:06 -03:00
searchresultlist-auth.tt Bug 33910: Improve translation of title tags: Authorities 2023-08-29 14:59:06 -03:00
searchresultlist.tt Bug 33406: Handle ES search errors for authorities 2023-09-15 15:50:42 -03:00