[Koha-bugs] [Bug 10756] Carousel Display of New Titles on OPAC home page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 4 08:28:58 CEST 2016


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

--- Comment #10 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 51176
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51176&action=edit
Bug 10756 - Carousel Display of New Titles on OPAC home page

test plan...
1/ import some bibs into your database for testing (important)

 $ wget http://www.loc.gov/catdir/cpso/RDAtest/extra_bib_marc.zip
 $ unzip extra_bib_marc.zip
 $ bulkmarcimport.pl -b -m ISO2709 -file ./formal_extra_all_final.bib

2/ apply patches

3/ execute atomic update to add syspref and 'Carousel' table

 $ perl ./installer/data/mysql/atomicupdate/Bug-10756-carousel.pl

4/ open OPAC homepage in web-browser, observe no change

5/ set 'OpacCarousel' syspref to 'display'

6/ open OPAC homepage in web-browser, observe a new carousel :0)

extra QA tests...

7/ run 5 carousel tests
 $ prove ./t/db_dependent/Carousel.t

8/ run qa-tool on patchset
 $ qa -c 2

Signed-off-by: Magnus Enger <magnus at libriotech.no>
Followed the test plan, everything worked as expected. The front page
displays a nice coverflow widget.

More parameters to control the widget would be nice, but that could
be added later.

On first running this I got a nasty 500 error: "Can't call method
"is_valid" on an undefined value at
/home/magnus/scripts/kohaclone/Koha/Carousel.pm
line 128." But I think I found a cure for that and will propose a
followup patch.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list