]> git.koha-community.org Git - koha.git/commit
Bug 13418: Clean C4::VirtualShelves::Page a bit
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 8 Dec 2014 15:31:06 +0000 (16:31 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 9 Feb 2015 13:20:29 +0000 (10:20 -0300)
commit273ead3084e7d3d573d89b80739a4dacd4f07044
tree8f14f880c6e07d8841ebe7b4159bcc0d157f76ea
parentfe66114e210885324eb37773e2bd09e7e2190f59
Bug 13418: Clean C4::VirtualShelves::Page a bit

I tried to reuse this package for a new development, I did not manage.
It's a really hard to read and to understand.

Here my first try, this patch only remove the call to _shelf_count in
the GetShelves subroutine.
Someone might want to get this value for another reason and from
somewhere else.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/VirtualShelves.pm
C4/VirtualShelves/Page.pm