Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Nick Clemens 557a0285ca
Bug 26433: Add Control number to SRU field configuration
This simply adds a row to the config page for configuring a mapping for Control
number, without this patch you cannot configure the feild, and the default is 'any'

I used the first record here for testing:
http://lx2.loc.gov:210/NAF?operation=searchRetrieve&version=1.1&query=query=bath.personalName=%22butler%20octavia%22&maximumRecords=20&recordSchema=marcxml

Enter SRU server using settings here:
https://www.loc.gov/z3950/lcserver.html#serv
       host: lx2.loc.gov
       port: 210
         db: NAF
     userid:
   password:
 servername: LOC SRU
    checked: NULL
       rank: NULL
     syntax: USMARC
    timeout: 0
 servertype: sru
   encoding: utf8
 recordtype: authority

To test:
1 - Setup SRU server using settings above
2 - In the server config click 'Modify' under 'SRU search fields mapping'
3 - Note you don't have an option for 'Control number'
4 - Go to Authorities
5 - New from Z39.50/SRU
6 - Search 'Control number' field with: PS3552.U827
7 - You get the record noted above as all fields are searched
8 - Search 'Control number' field with: 79056654
9 - You get the record noted above as all fields are searched
10 - Apply patch
11 - In the server config click 'Modify' under 'SRU search fields mapping'
12 - Note you now have a config for 'Control number'
13 - Enter 'bath.lccn'
14 - Save
15 - Repeat search from #6 - no result
16 - Repeat search from #8 - correct result as only lccn fields are search
17 - Modify server config ans set 'Control number' to 'bath.lcCallNumber'
18 - Repeat search from #6 - correct results as call number field is now search
19 - Repeast search from #8 - no result

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-31 12:06:51 +02:00
..
preferences Bug 32964: (follow-up) Additional rewording for XSLT item display 2023-03-30 12:31:36 +02:00
searchengine/elasticsearch Bug 32519: In Elasticsearch mappings table use of search field name and label 2023-03-10 12:04:10 -03:00
additional-fields.tt
admin-home.tt
adveditorshortcuts.tt
aqbudgetperiods.tt
aqbudgets.tt
aqcontract.tt Bug 32945: Fix capitalization of id in more places 2023-03-27 11:52:38 +02:00
aqplan.tt
audio_alerts.tt
auth_subfields_structure.tt
auth_tag_structure.tt
authorised_values.tt Bug 33278: Correct JS for activating default tab on various pages 2023-03-27 11:51:00 +02:00
authtypes.tt
background_jobs.tt
biblio_framework.tt
branch_transfer_limits.tt Bug 33278: Correct JS for activating default tab on various pages 2023-03-27 11:51:00 +02:00
branches.tt
cash_registers.tt
categories.tt
checkmarc.tt
cities.tt Bug 32945: Fix capitalization of id in more places 2023-03-27 11:52:38 +02:00
classsources.tt
clone-rules.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
columns_settings.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
credit_types.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
curbside_pickup.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
currency.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
debit_types.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
desks.tt Bug 33151: Improve translation of string in cities.tt and desks.tt 2023-03-17 09:59:13 -03:00
didyoumean.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
edi_accounts.tt Bug 33076: (QA follow-up) Update context hint to "EDIFACT message QUOTE" 2023-03-20 09:39:39 -03:00
edi_ean_accounts.tt
identity_provider_domains.tt
identity_providers.tt
item_circulation_alerts.tt
items_search_field.tt
items_search_fields.tt
itemtypes.tt Bug 33278: Correct JS for activating default tab on various pages 2023-03-27 11:51:00 +02:00
koha2marclinks.tt
library_groups.tt Bug 32945: Fix capitalization of id in more places 2023-03-27 11:52:38 +02:00
localization.tt
marc-overlay-rules.tt
marc_subfields_structure.tt
marctagstructure.tt
matching-rules.tt
oai_set_mappings.tt
oai_sets.tt
overdrive.tt
patron-attr-types.tt
preferences.tt Bug 32926: Assign unique ids to <h3> elements 2023-02-24 17:52:30 -03:00
restrictions.tt Bug 32886: Set focus for cursor to Code when adding a new restriction 2023-03-10 11:15:38 -03:00
search_filters.tt
share_content.tt
smart-rules.tt
sms_providers.tt
smtp_servers.tt
sru_modmapping.tt
sru_modmapping_auth.tt Bug 26433: Add Control number to SRU field configuration 2023-03-31 12:06:51 +02:00
systempreferences.tt
transfer_limits.tt
transport-cost-matrix.tt
usage_statistics.tt
z3950servers.tt Bug 32945: Fix capitalization of id in more places 2023-03-27 11:52:38 +02:00