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

--- Comment #12 from Andrew Isherwood <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to