Bug 36785: Typo unreconized and bilbio in tags code

Test plan:
Look at the patch.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Marcel de Rooy 2024-05-06 09:12:36 +00:00 committed by Katrin Fischer
parent 5653c36d4a
commit 4a18e25d3c
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 4 additions and 4 deletions

View File

@ -151,7 +151,7 @@ sub get_tag_rows {
next;
}
unless (1 == scalar grep { $_ eq $key } @ok_fields) {
carp "get_tag_rows received unreconized argument key '$key'.";
carp "get_tag_rows received unrecognized argument key '$key'.";
next;
}
if ($key eq 'limit') {
@ -189,7 +189,7 @@ sub get_tags { # i.e., from tags_index
next;
}
unless (1 == scalar grep { $_ eq $key } @ok_fields) {
carp "get_tags received unreconized argument key '$key'.";
carp "get_tags received unrecognized argument key '$key'.";
next;
}
if ($key eq 'limit') {
@ -255,7 +255,7 @@ sub get_approval_rows { # i.e., from tags_approval
next;
}
unless (1 == scalar grep { $_ eq $key } @ok_fields) {
carp "get_approval_rows received unreconized argument key '$key'.";
carp "get_approval_rows received unrecognized argument key '$key'.";
next;
}
if ($key eq 'limit') {

View File

@ -79,7 +79,7 @@ sub ajax_auth_cgi { # returns CGI object
return $input;
}
# The trick here is to support multiple tags added to multiple bilbios in one POST.
# The trick here is to support multiple tags added to multiple biblios in one POST.
# The HTML might not use this, but it makes it more web-servicey from the start.
# So the name of param has to have biblionumber built in.
# For lack of anything more compelling, we just use "newtag[biblionumber]"