[Bug 1252] New: extraneous characters need to be excluded from ISBNs for amazon images on search results page
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1252 Summary: extraneous characters need to be excluded from ISBNs for amazon images on search results page Product: Koha Version: branch 2.4 Platform: PC URL: http://catalog.ccfls.org/search?idx=&q=pratchett OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Searching AssignedTo: jmf@kados.org ReportedBy: cmurdock@ccfls.org QAContact: koha-bugs@nongnu.org In opac-details.pl you can to exclude extraneous characters such as hyphens, colons, extra spaces, etc., with this: ## Amazon.com stuff #not used unless preference set if (C4::Context->preference("AmazonContent")==1) { use C4::Amazon; $dat->{'amazonisbn'}=$dat->{'isbn'}; $dat->{'amazonisbn'} =~ s|-||g; $dat->{'amazonisbn'} =~ s|:||g; $dat->{'amazonisbn'} =~ s| ||g; $dat->{'amazonisbn'} =~ s|\(.*\)?||g; $template->param( amazonisbn => $dat->{amazonisbn} ); (note that I elaborated on the replacements in the original opac-details.pl) However, the list of search results also needs to have this done to make more book covers show up. ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
participants (1)
-
bugzilla-daemon@daddy.katipo.co.nz