[Koha-patches] [PATCH] Update waitingreserves to only show local holds.

Galen Charlton galen.charlton at liblime.com
Fri Sep 5 02:48:50 CEST 2008


Hi,

On Thu, Sep 4, 2008 at 4:16 PM, Ryan Higgins <rch at liblime.com> wrote:
> +# get reserves for the branch we are logged into
> + at getreserves = GetReservesForBranch($default);

If the operator is not logged in to a specific branch, $default will
be 'NO_LIBRARY_SET', and @getreserves will be empty.  That's arguably
OK (the alternative would be to display the waiting holds for all
libraries if the operator isn't logged into a specific branch), but it
that's the desired behavior, it shouldn't happen by accident - that
circumstance should be checked explicitly and the script should
display a message asking the operator to log into a branch first.

Regards,

Galen
--
Galen Charlton
VP, Research & Development, LibLime
galen.charlton at liblime.com
p: 1-888-564-2457 x709
skype: gmcharlt



More information about the Koha-patches mailing list