The homebranch and holdingbranch ddl in item block are not default selected.
I just put the default choice as the login branch.
---
 C4/Items.pm |    1 +
 1 file changed, 1 insertion(+)

diff --git a/C4/Items.pm b/C4/Items.pm
index e9af3dd..40751e7 100644
--- a/C4/Items.pm
+++ b/C4/Items.pm
@@ -2700,6 +2700,7 @@ sub PrepareItemrecordDisplay {
                                 $authorised_lib{$branchcode} = $branchname;
                             }
                         }
+                        $defaultvalue = C4::Context->userenv->{branch};
 
                         #----- itemtypes
                     } elsif ( 
$tagslib->{$tag}->{$subfield}->{authorised_value} eq "itemtypes" ) {
-- 
1.7.9.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to