[Koha-devel] Why in the OPAC v3 code are reserves limited to items with an itemtype set

Michael Hafen mdhafen at washk12.org
Thu Apr 3 21:08:09 CEST 2008


I'm looking that the latest code for opac-reserve.pl and around line 143
the item list is limited to only those items that have an itemtype set,
either in the biblioitems or items table depending on the syspref.  I
would like to know why this is when it is possible to have a record with
no itemtype set.  It is possible to have no itemtype set when
staging/importing records, and additem.pl leaves the option of no
itemtype when the syspref is set and that field is visible.

So, why is it necessary in opac-reserve.pl to have an itemtype when it
is possible that an itemtype will not be set.  That is my question.  I
might think of this as a bug, and would prefer that all items be listed
regardless of whether there is an itemtype set.

Thanks.




More information about the Koha-devel mailing list