Main Koha release repository https://koha-community.org
Find a file
Nick Clemens 2aa49ebab4
Bug 3426: Allow for multiple fields in itemcallnumber syspref
Note that we change both cataloguing/additem.pl and C4/Items->PrepareItemrecordfordisplay

I can find no code that uses callnumber from the C4/Items sub, except for the itemrecorddisplay script
which is not called with an itemnumber from Koha and should be deprecated for REST or ILSDI or OAI (imho)

To test:
 1 - Define itemcallnumber syspref as "082ab,092ab,9520,245a"
 2 - Find a record with no items
 3 - Ensure it has no 082 field, but an 092 field
 4 - Go to add an item - itemcallnumber is empty
 5 - Apply patch
 6 - Go to add item, itemcallnumber should be the 092ab fields
 7 - Delete the 092 field
 8 - Go to add item, itemcallnumber should be the 245a
 9 - Edit the callnumber to be "testing" and save item
10 - For should now show itemcallnumber="testing" as default
11 - Browse to http://localhost:8081/cgi-bin/koha/services/itemrecorddisplay.pl?itemnumber=## subbing the correct itemnumber
12 - Ensure the callnumber is defaulting to testing
13 - delete the item you created
14 - browse to URL above - callnumber should now be 245 again
15 - Add an 092 field to record and ensure it is now default callnumber
16 - Add an 082 field, it should now be default

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-01-21 11:26:18 +00:00
acqui Bug 24430: Remove CountBiblioInOrders and its traces 2020-01-21 11:21:57 +00:00
admin Bug 12502: Add vendor note, internal note, ordernumber and isbn to late orders page 2020-01-20 16:37:21 +00:00
api/v1 Bug 18731: OpenAPI definitions 2020-01-09 16:25:57 +00:00
authorities
basket Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
C4 Bug 3426: Allow for multiple fields in itemcallnumber syspref 2020-01-21 11:26:18 +00:00
catalogue Bug 23970: Make search with "Publication date" field work at any position 2019-12-10 16:13:39 +00:00
cataloguing Bug 3426: Allow for multiple fields in itemcallnumber syspref 2020-01-21 11:26:18 +00:00
circ Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
clubs
course_reserves
debian Bug 22220: Fix bib Apache rewrite rule for intranet 2020-01-20 14:03:49 +00:00
docs Koha 19.12 - Dobbie is a free elf... 2019-12-02 17:13:15 +00:00
errors Bug 23329: Move error page to its own subroutine 2019-11-27 11:30:19 +00:00
etc Bug 22220: Fix bib Apache rewrite rule for intranet 2020-01-20 14:03:49 +00:00
ill
installer Bug 24289: (RM follow-up) Correction to DB update version 2020-01-20 14:39:32 +00:00
Koha Bug 24435: Add Koha::Biblio->items_count 2020-01-21 11:25:14 +00:00
koha-tmpl Bug 3426: Allow for multiple fields in itemcallnumber syspref 2020-01-21 11:26:18 +00:00
labels
members Bug 24008: Remove minus sign when displaying credit value 2020-01-20 14:03:52 +00:00
misc Bug 21466: Catch any values that should be defined in the AV but are not 2020-01-13 13:57:52 +00:00
offline_circ
opac Bug 24327: Redirect to the login form if AnonSuggestion misconfigured 2020-01-08 14:13:46 +00:00
OpenILS
patron_lists
patroncards
plugins
pos Bug 23354: (follow-up) Make display of debit types configurable 2020-01-13 14:05:14 +00:00
reports Bug 24177: (QA follow-up) Fix warning 2019-12-10 16:03:33 +00:00
reserve Bug 22284: (QA follow-up) Make pickup locations be Koha::Library objects 2020-01-03 12:58:06 +00:00
reviews
rotating_collections
serials Bug 7047: Change ReNewSubscription prototype - use hashref 2019-12-23 12:06:45 +00:00
services
skel
suggestion Bug 14973: Fix edit a suggestion and dup found 2020-01-02 12:36:26 +00:00
svc Bug 23427: Simplify sort logic 2019-11-07 13:25:10 +00:00
t Bug 24435: Unit tests 2020-01-21 11:25:06 +00:00
tags Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
tmp/modified_authorities
tools Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
virtualshelves Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
xt
.editorconfig
.eslintrc.json Bug 23834: Add default ESLint configuration 2019-11-03 08:02:39 +00:00
.gitignore
.htaccess
.mailmap
.scss-lint.yml
about.pl Bug 24327: Add warning to the about page is AnonSugggestions but AnonymousPatron 2020-01-08 14:13:28 +00:00
changelanguage.pl
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 24289: DBRev 19.12.00.011 2020-01-20 14:03:52 +00:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL Bug 24445: Add z3950 to makefile (bug 13937 follow-up) 2020-01-17 11:09:51 +00:00
MANIFEST.SKIP
package.json Bug 23025: security vulnerability detected in fstream < 1.0.12 defined in yarn.lock 2019-11-27 11:30:17 +00:00
README
README.md
README.robots
rewrite-config.PL Bug 17851: Add elasticsearch config to koha-conf.xml 2019-10-07 14:09:10 +01:00
yarn.lock Bug 23025: Update yarn.lock 2019-11-27 11:30:17 +00:00

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo