https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12759

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #24 from Jonathan Druart <[email protected]> 
---
Comment 10 and comment 13 are still valid...


Moreover, prefer to pass an iterator to the template:
-my @lists = Koha::Virtualshelves->search({});
-$template->param( lists => \@lists );
+$template->param( virtual_shelves => scalar Koha::Virtualshelves->search );


You will need to adapt the template accordingly ([% IF virtual_shelves.count
%], etc.)

-- 
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/

Reply via email to