]> git.koha-community.org Git - koha.git/commit
Bug 36832: (bug 36791 follow-up) Allow authid=0
authorEmily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Fri, 10 May 2024 18:01:59 +0000 (14:01 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 22 May 2024 12:48:24 +0000 (14:48 +0200)
commitaa7bea04c43080e33843b0454140c674d5fef6a2
tree406ada0c612ec17d67ee1b8a2f0a21f02d702d19
parentf666716b3b6860915c7e2dd7afb6cc7b6cd96834
Bug 36832: (bug 36791 follow-up) Allow authid=0

To test:
1. Go to the Authorities module and do a Z39.50 search that will return
   results (e.g. a general subject heading)
2. Import an authority record from the results
--> Confirm that the record is imported into the editor
3. Authorities > New, replace it via Z39.50, confirm it's imported
4. Authorities > New, fill the required fields, confirm it saves
5. Edit an existing authority, replace it via Z39.50, confirm it saves
6. Edit an existing authority, replace authid=nn in the URL with a
   number that doesn't exist like 1000000, confirm you get a 404 page

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Janusz Kaczmarek <januszop@gmail.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 1aba01adb4ff61c6af77af6b42f13d29d55df4f2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
authorities/authorities.pl