]> git.koha-community.org Git - koha.git/commit
Branch auto-selection in additem
authorJoe Atzberger <joe.atzberger@liblime.com>
Wed, 8 Jul 2009 21:52:18 +0000 (16:52 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 15 Jul 2009 01:39:00 +0000 (21:39 -0400)
commit46b9ee7a931ed079c6175330a26fc6cc155405bb
tree6724589a688822c4dece5319fc72954f6af95e88
parent7c2e7ad410e59d6f0c21d76859656b8aa8838ecb
Branch auto-selection in additem

Adding a new item should pre-select the library you are logged in at, where possible.
Use GetBranchesLoop.  This solves indy branches filtering, and sort order problems.
Set default off of ->{selected}, to establish pre-selected branch.
Fix flags check in onlymine sub, so superlibrarian + other flags still gets everything.
Removed defined(@array) check, since perl -wc warns it is deprecated.
Note new FIXME for botched date processing.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Branch.pm
cataloguing/additem.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tmpl