http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14393
--- Comment #15 from David Cook <[email protected]> --- Comment on attachment 44772 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44772 Bug 14393 - Add collection code filter to inventory Review of attachment 44772: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14393&attachment=44772) ----------------------------------------------------------------- ::: tools/inventory.pl @@ +95,5 @@ > } > push @authorised_value_list,@$data; > } > + > + my $collection_authorised_value = > C4::Koha::GetAuthValCode("items.ccode", $fwkcode); In practice, it might be enough to get the default one, but in theory you could use different authorized value categories than "CCODE" for "item.ccode" depending on the framework of the biblio to which an item is attached. Originally, I just used the default framework, but then realized that it wasn't necessarily comprehensive enough. In practice, I don't know if anyone would map multiple categories to "item.ccode", but it is theoretically possible. You might only allow certain collections for a certain framework. Framework A might use "CCODE" which refers to textual collections while Framework B might use "CCODE2"which refers to audiovisual collections. That would probably be madness, but it's possible madness. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
