Main Koha release repository https://koha-community.org
Find a file
Nick Clemens 1256907319 Bug 7660: Use first available categorycode when none passed in
The code that populates the patron messaging preferences on initial form load
expects to have a category selected. Currently we only have one if one was
passed to the form. When creating an account from a parent, we don't have a
category explicitly selected - so we can just select the first of the possible
categories

To test:
 1 - In KTD set 'Juvenile' category to have some messaging preferences
 2 - Find a patron, say Edna Acosta, and 'Add guarantee'
 3 - In new form preferences are blank, cancel
 4 - Apply patch, restart all
 5 - Go to Edna, click 'Add guarantee'
 6 - Preferences are populated!
 7 - Cancel
 8 - Go to 'Patrons' module
 9 - Click "+ New patron"
10 - Confirm messaging preferences load correctly when not adding child

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 146423f1bc)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2022-08-23 20:04:54 +00:00
acqui Bug 14680: Always subtract discount from price to calculate estimated cost 2022-08-23 17:24:04 +00:00
admin Bug 30882: Add max_result_window to index config 2022-08-23 17:37:04 +00:00
api Bug 29105: Add effective_itemtype handling to items api 2022-08-23 19:19:03 +00:00
authorities Bug 29333: Fix encoding of imported UNIMARC authorities 2022-08-23 15:30:11 +00:00
basket
bin
C4 Bug 30039: Add published on column to claims.pl 2022-08-23 19:56:01 +00:00
catalogue Bug 27683: Impact on catalogue/detail.pl 2022-08-23 19:39:03 +00:00
cataloguing Bug 31179: Don't copy invisible subfields when duplicating items 2022-08-12 14:29:34 +00:00
circ Bug 30905: Show waiting recalls in patron account 2022-08-23 19:43:54 +00:00
clubs
course_reserves Bug 30409: barcodedecode() should always trim barcode 2022-07-13 19:44:18 +00:00
debian Bug 25622: Use special chars in DB password (koha-create) 2022-08-09 22:05:25 +00:00
docs
errors
etc
ill
installer Bug 29632: (QA follow-up) Add ENUM value to kohastructure.sql :-D 2022-08-23 17:48:17 +00:00
Koha Bug 30447: Check if transfers arrived or cancelled 2022-08-23 19:34:49 +00:00
koha-tmpl Bug 30570: Compiled CSS 2022-08-23 20:00:28 +00:00
labels Bug 31137: (QA follow-up) Also fix new template page 2022-08-23 10:29:30 -06:00
lib/CGI/Session/Serialize
members Bug 7660: Use first available categorycode when none passed in 2022-08-23 20:04:54 +00:00
misc Update release notes for 22.05.04 release 2022-08-22 21:36:39 +00:00
offline_circ
opac Bug 20439: Sort SMS providers in alphabetical order by DB field 2022-08-23 19:24:52 +00:00
patron_lists
patroncards
plugins
pos
recalls Bug 30924: Add missing branchtransfers.reason value for recall cancellation 2022-07-13 19:13:33 +00:00
reports
reserve
reviews
rotating_collections
serials
services
skel
suggestion
svc Bug 29051: Update svc api to allow seen renewals 2022-08-23 15:18:50 +00:00
t Bug 27683: Unit test for GetAnalyticsCount 2022-08-23 19:37:26 +00:00
tags
tmp/modified_authorities
tools Bug 29333: Fix encoding of imported UNIMARC authorities 2022-08-23 15:30:11 +00:00
virtualshelves Bug 29114: Trim whitespace before the barcode 2022-08-23 19:29:20 +00:00
xt
.editorconfig
.eslintrc.json
.gitignore
.htaccess
.mailmap
.perlcriticrc
.proverc.dist
.scss-lint.yml
about.pl Bug 27667: Display a warning for records missing in Elasticsearch 2022-08-23 19:26:34 +00:00
app.psgi
changelanguage.pl
cpanfile Bug 25669: (follow-up) Minor fixes 2022-07-29 15:28:00 +00:00
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 29632: DBRev 22.05.04.001 2022-08-23 17:42:43 +00:00
koha_perl_deps.pl
kohaversion.pl
LICENSE Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
mainpage.pl
Makefile.PL
MANIFEST.SKIP Bug 9546 : Updating make manifest tardist 2013-02-06 23:54:46 -05:00
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock Bug 27939: Update yarn.lock file 2021-03-16 12:04:06 +01:00

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

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

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