]> git.koha-community.org Git - koha.git/commit
Bug 6875 de-nesting C4/Serials
authorPaul Poulain <paul.poulain@biblibre.com>
Fri, 16 Sep 2011 16:48:15 +0000 (18:48 +0200)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 20 Feb 2012 02:00:25 +0000 (21:00 -0500)
commite84d5a7b37ebf4b47e01da3c504bbabe031c37e1
tree8f49d6b98ec32cfa7cf7c4b86c814d4ea49d3035
parent27c4844a59cb603ad334d286fba7f32ea1eb72e1
Bug 6875 de-nesting C4/Serials

* use C4::Branch is loaded only to call GetBranchNAme in PrepareSerialsData
  and set branchname in the hashresult. This sub PrepareSerialsData is used
  in the following scripts :
opac/opac-serial-issues.pl:    my $subscriptioninformation=PrepareSerialsData($subscriptions); => no use of branchname after
serials/serials-collection.pl:   $subscriptions=PrepareSerialsData(\@subscriptioninformation); => no use of branchname after
=> we can remove the ->{branchname} from the result, and remove the C4::Branch dependancy
* moves use C4::Items to require C4::Items, to call AddItemFromMarc, when
  receiving a serial, with Recieving create an item set in the subscription.
* removed use C4::Letters and C4::Search, that are useless

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit c52f0b7fdfc8ac3163cefc33c52c861bd7542da9)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Serials.pm