Bug 6875 de-nesting C4/Serials
authorPaul Poulain <paul.poulain@biblibre.com>
Fri, 16 Sep 2011 16:48:15 +0000 (18:48 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 15 Feb 2012 13:58:38 +0000 (14:58 +0100)
commitc52f0b7fdfc8ac3163cefc33c52c861bd7542da9
tree980f099f29e7e2335abeaad4b531c298760e25c4
parent6fbe49ce31926d42902d3748abbb844aac414ae6
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>
C4/Serials.pm