Bug 36609

Summary: Update index type labels in Elasticsearch config page: Std. Number, Call Number, <empty>
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: David Nind <david>
Status: Pushed to main --- QA Contact: Katrin Fischer <katrin.fischer>
Severity: trivial    
Priority: P5 - low CC: david, fridolin.somers, nick
Version: MainKeywords: Academy
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20388
Change sponsored?: --- Patch complexity: String patch
Documentation contact: Documentation submission:
Text to go in the release notes:
This fixes the labels used for the type options when configuring Elasticsearch search fields - they now use sentence case and the full name (instead of abbreviations): - Default (instead of being blank) - Identifier (instead of Std. Number) - Call number (instead of Call Number)
Version(s) released in:
25.05.00
Circulation function:
Attachments: Bug 36609: Update index type labels for search engine configuration
Bug 36609: Update index type labels for search engine configuration
Bug 36609: Update index type labels for search engine configuration

Description Katrin Fischer 2024-04-16 15:31:58 UTC
the N should be n, but also: maybe we should use Standard number instead of the abbreviation? Might be less confusing especially for translators.
Comment 1 Katrin Fischer 2024-04-16 15:33:14 UTC
From discussion in chat: We might want to rename Std. number to Identifier.
Comment 2 Katrin Fischer 2024-04-17 11:36:42 UTC
After some discussion in chat:

Std. Number = Standard number or Identifier
Call Number = Call number
<empty entry> = Default
Comment 3 David Nind 2024-12-08 18:36:02 UTC
Links to the discussion threads from April 2024:
- Default instead of blank: https://chat.koha-community.org/koha-community/pl/wgdqrbghtb8qdrb7rkd6f6k8my
- Identifier instead of Std. Number or Standard Number: https://chat.koha-community.org/koha-community/pl/p37r6fp43tgym89wxtmwqbzrph
Comment 4 David Nind 2024-12-08 18:36:42 UTC Comment hidden (obsolete)
Comment 5 David Nind 2024-12-08 18:48:49 UTC
Created attachment 175283 [details] [review]
Bug 36609: Update index type labels for search engine configuration

This fixes the labels used for the type options when configuring
Elasticsearch search fields so that they use:
- sentence case
- the full name, instead of abbreviations (to make it clearer
  for translators)

Test plan:
1. Go to Administration > Catalog > Search engine
   configuration (Elasticsearch).
2. In the search fields tab, select the type column dropdown list
   for any field. Note the labels used for these options:
   - <empty entry> (the default option)
   - Std. Number
   - Call Number
3. Apply the patch.
4. Refresh the page.
5. Repeat step 2 and note that the option labels are now:
   - Default (instead of being blank)
   - Identfier (instead of Std. Number)
   - Call number (instead of Call Number)
6. Sign off D:
Comment 6 Owen Leonard 2024-12-09 12:45:27 UTC
Created attachment 175308 [details] [review]
Bug 36609: Update index type labels for search engine configuration

This fixes the labels used for the type options when configuring
Elasticsearch search fields so that they use:
- sentence case
- the full name, instead of abbreviations (to make it clearer
  for translators)

Test plan:
1. Go to Administration > Catalog > Search engine
   configuration (Elasticsearch).
2. In the search fields tab, select the type column dropdown list
   for any field. Note the labels used for these options:
   - <empty entry> (the default option)
   - Std. Number
   - Call Number
3. Apply the patch.
4. Refresh the page.
5. Repeat step 2 and note that the option labels are now:
   - Default (instead of being blank)
   - Identfier (instead of Std. Number)
   - Call number (instead of Call Number)
6. Sign off D:

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 7 David Nind 2024-12-09 17:54:05 UTC
Thanks for the sign off Owen!
Comment 8 Katrin Fischer 2024-12-27 15:25:19 UTC
QA by RM
Comment 9 Katrin Fischer 2024-12-27 16:36:11 UTC
Pushed for 25.05!

Well done everyone, thank you!