Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 32003: Add page-section to order search results and fix heading hierarchy 2023-03-27 12:49:59 +02:00
admin Bug 26433: Add Control number to SRU field configuration 2023-03-31 12:06:51 +02:00
authorities Bug 33278: Correct JS for activating default tab on various pages 2023-03-27 11:51:00 +02:00
basket Bug 3150: Move emails for sending cart and list contents to notices 2023-03-27 12:49:38 +02:00
batch
catalogue Bug 33021: (QA follow-up) Fix QA errors 2023-03-27 12:50:09 +02:00
cataloguing Bug 33133: Move fast cataloging to first column 2023-03-27 12:50:08 +02:00
circ Bug 32421: Add collection column to holds to pull 2023-03-14 09:06:14 -03:00
clubs
course_reserves Bug 33070: Remove use of can_edit_items 2023-03-17 09:59:02 -03:00
erm Bug 32924: Add the ability to filter agreement by logged in user 2023-03-07 15:03:41 -03:00
errors Bug 32973: Use template wrapper for breadcrumbs: about, main, and error page 2023-02-27 11:39:31 -03:00
ill Bug 32576: Replace panels with page-sections 2023-03-02 09:37:43 -03:00
installer
labels Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
mana
members Bug 32426: Adjust error message of ERROR_login_exist 2023-03-27 12:49:55 +02:00
offline_circ
onboarding
patron_lists
patroncards Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
plugins Bug 33189: Make plugin upload look for .kpz files in file picker 2023-03-10 10:17:04 -03:00
pos
recalls
reports Bug 33063: Make sure correct subgroup is pre-selected when duplicating reports 2023-03-10 11:15:23 -03:00
reserve
reviews
rotating_collections
serials Bug 33136: Added class "page-section" to the result page table of serial record search 2023-03-30 17:13:47 +02:00
services
suggestion Bug 29935: Archived suggestions filter always visible 2023-03-10 11:15:37 -03:00
tags
test
tools Bug 32945: (QA follow-up) Fix capitalization of id in even more places 2023-03-27 11:52:38 +02:00
virtualshelves Bug 3150: Move emails for sending cart and list contents to notices 2023-03-27 12:49:38 +02:00
about.tt Bug 14251: Add warning in about.pl for missing weasyprint 2023-03-27 11:54:08 +02:00
auth.tt Bug 32217: Fixed typo in error message for authentication providers 2023-03-30 12:09:39 +02:00
intranet-main.tt Bug 33133: Add fast cataloging to 'Cataloging' page 2023-03-27 12:50:07 +02:00