https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20385 --- Comment #4 from Alex Arnaud <alex.arnaud@biblibre.com> --- Comment on attachment 72810 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72810 Bug 20385 - Don't try to get info for bad authtypecodes Review of attachment 72810: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20385&attachment=72810) ----------------------------------------------------------------- ::: Koha/SearchEngine/Elasticsearch/Search.pm @@ +217,4 @@
# with the record. It's not documented why this is the case, so # it's not reproduced here yet. my $authtype = $rs->single; + my $auth_tag_to_report = $authtype ? $authtype->auth_tag_to_report : $authtypecode;
Works fine but i feel not confortable with the fact of putting an auth type code inside a variable supposed to contain a marc field tag. Why not just ''? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.