]> 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)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:41 +0000 (23:19 +0200)
commitf6d2ffa98467e68c04784c0d57368b5e94b1a9dc
treed73c973f8e6933a4829b2779b1bee9d8607b0ab6
parent6a02281f7d3ac894870b150ebc475b812efcf2d1
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