[Koha-bugs] [Bug 20797] If an Ill request has an associated bib record, the detail view should contain a link to the record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 5 12:23:20 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20797

--- Comment #12 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
Hi Jonathan

Further to your comment:

If "Biblio ID" is not filled, the column contains "0" with a link to
/catalogue/detail.pl?biblionumber=0

I've done some digging. It appears that, for some reason, the API response
contains a biblio_id of 0, even though the value in the database is NULL.

I've checked and there's definitely no casting of this value to an integer in
my code so I'm wondering if it's happening at a lower level. The schema
definition for the column defines it as an integer, but it's also nullable.

I'm not sure what to do about this. I can obviously work around it in the
template, but that would just be masking the problem. Any ideas?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list