Main Koha release repository https://koha-community.org
Find a file
Adam Styles 0ba9d95098 Bug 30224: Show correct important field in cataloguing validation
This patch fxes the cataloguing validation messages to show the correct tag, when the whole field is important (not just a subfield).

Note: Look at Bug 30159 to fix the formatting of the validation popup.

1. Go to Administration -> MARC bibliographic frameworks
2. Click Actions next to a framework, view MARC structure
3. Edit multiple tags (at least 2) and check the Important checkbox.
4. Go to cataloguing and create a new record using the framework you just edited
5. Don't fill any of the important fields. Click Save to force the validation for the important tags
6. Notice that the error message shows that an important field isn't filled, but the tag number shown is repeated for each message. The 'Go to field' link goes to the right tag, but the tag number shown is incorrect.
7. Apply patch and refresh page
8. Click Save to force validation again.
9. Confirm the correct tag number is now showing for each error message.

Sponsored-by: Education Services Australia SCIS
Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-26 15:01:56 -10:00
acqui Bug 16258: Add a syspref to govern EDIFACT functionality 2022-04-13 15:55:38 +02:00
admin Bug 30142: Remove spaces from ElasticSearch mapping MARC fields 2022-04-13 15:55:39 +02:00
api Bug 30534: Remove guarantor_id attribute from the patron object 2022-04-25 10:00:22 -10:00
authorities Bug 11083: Add ability to generate authority summary using XSLT 2022-04-08 15:49:15 +02:00
basket Bug 29609: Centralized code to build the link to a biblio detail page 2022-04-08 15:49:16 +02:00
bin
C4 Revert "Bug 28371: Passpreviously fetched branches and itemtypes through and fetch all needed AV at once" 2022-04-25 20:52:28 -10:00
catalogue Bug 21225: (follow-up) Make SyndeticCovers work on catalog detail page 2022-04-08 15:49:16 +02:00
cataloguing Bug 29815: Pre-populate 'Date acquired' field when adding/editing items 2022-04-20 20:43:14 -10:00
circ Bug 29609: Centralized code to build the link to a biblio detail page 2022-04-08 15:49:16 +02:00
clubs Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
course_reserves
debian Bug 26370: (QA follow-up) Add new option to templates 2022-04-20 09:03:39 -10:00
docs Revert "Bug 20076: Add Thibaud Guillot to contributors" 2022-01-13 22:12:53 -10:00
errors Bug 29420: HTTP status code incorrect when calling error pages directly under Plack/PSGI 2022-04-20 09:03:39 -10:00
etc Bug 26370: (QA follow-up) Add new option to templates 2022-04-20 09:03:39 -10:00
ill Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
installer Bug 27253: (follow-up) Fix UNIXTIME(0) in db_revs/211200037.pl 2022-04-25 10:00:22 -10:00
Koha Bug 30534: Remove guarantor_id attribute from the patron object 2022-04-25 10:00:22 -10:00
koha-tmpl Bug 30224: Show correct important field in cataloguing validation 2022-04-26 15:01:56 -10:00
labels Bug 29821: Add interface for generating barcodes using svc/barcode 2022-04-08 15:49:17 +02:00
lib/CGI/Session/Serialize
members Bug 28786: (QA follow-up) Check the returned CSRF token 2022-04-20 20:43:15 -10:00
misc Bug 30477: Add new UNIMARC installer translation files 2022-04-21 13:41:35 -10:00
offline_circ Bug 30525: Items batch modification broken 2022-04-21 13:41:36 -10:00
opac Bug 30532: (bug 29957 follow-up) Fix '$cookie->value' 2022-04-21 13:41:36 -10:00
patron_lists
patroncards Bug 30055: Use /patrons for patron's cards 2022-04-04 09:46:57 +02:00
plugins Bug 29787: Add plugin version to plugin search results 2022-04-08 15:49:15 +02:00
pos Bug 28481: (RM follow-up) formatting 2021-12-16 12:13:51 -10:00
recalls Bug 19532: (RM follow-up) Fix recalls.old is default 0 2022-03-15 00:31:32 -10:00
reports Bug 30532: (bug 29957 follow-up) Fix '$cookie->value' 2022-04-21 13:41:36 -10:00
reserve Bug 30093: Make patron search from request.pl use the REST API 2022-04-04 09:47:00 +02:00
reviews
rotating_collections
serials Bug 29609: Centralized code to build the link to a biblio detail page 2022-04-08 15:49:16 +02:00
services
skel
suggestion Bug 30055: Use /api/v1/suggestions/managers to list managers or suggestions 2022-04-04 09:46:57 +02:00
svc Bug 29859: Fix club/enroll 2022-04-05 17:36:59 +02:00
t Bug 30072: (followup) Fix random failure of Holds_hooks.t 2022-04-26 15:01:56 -10:00
tags Bug 29469: (bug 17600 follow-up) Fix tag approval/rejection from staff 2021-11-16 15:49:22 +01:00
tmp/modified_authorities
tools Bug 30525: Items batch modification broken 2022-04-21 13:41:36 -10:00
virtualshelves Bug 26346: Add option to make public lists editable by all staff 2022-04-12 17:13:02 +02:00
xt Bug 30194: (follow-up) Fix xt/api.t 2022-03-29 17:14:50 +02:00
.editorconfig Bug 27375: Set YAML file settings in .editorconfig 2021-11-03 15:40:52 +01:00
.eslintrc.json
.gitignore
.htaccess
.mailmap 21.11.00 - Update .mailmap 2021-11-26 12:26:22 +01:00
.perlcriticrc
.proverc.dist
.scss-lint.yml
about.pl
app.psgi
changelanguage.pl
cpanfile Bug 28786: decrease Auth::GoogleAuth version to 1.02 2022-04-20 21:27:02 -10:00
fix-perl-path.PL
gulpfile.js Bug 30373: Enable translation of UNIMARC frameworks 2022-04-21 13:41:35 -10:00
help.pl
INSTALL
Koha.pm Bug 27253: DBRev 21.12.00.037 2022-04-21 21:01:09 -10:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL Bug 19532: Database and installer stuff 2022-03-14 22:45:50 -10:00
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

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