At the moment when you look at the contents of a list in the OPAC or the staff client you don't see subtitles. In other places in Koha I've seen this used to grab subtitles: my $subtitle = C4::Biblio::get_koha_field_from_marc('bibliosubtitle', 'subtitle', $record, ''); Where $record is set by doing: my $record = GetMarcBiblio($biblionumber); It works to make these changes in C4/VirtualShelves/Page.pm (around line 183), but I'm not sure that's the right thing to do here--I'm concerned about the overhead of doing that when looping through list contents. Yes? No? -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
Owen Leonard wrote:
At the moment when you look at the contents of a list in the OPAC or the staff client you don't see subtitles. In other places in Koha I've seen this used to grab subtitles:
my $subtitle = C4::Biblio::get_koha_field_from_marc('bibliosubtitle', 'subtitle', $record, '');
Where $record is set by doing:
my $record = GetMarcBiblio($biblionumber);
It works to make these changes in C4/VirtualShelves/Page.pm (around line 183), but I'm not sure that's the right thing to do here--I'm concerned about the overhead of doing that when looping through list contents.
Yes? No?
-- Owen
I would also be concerned about the fact that not doing that would not display subtitles. And it is the case. I donot know for VERY LONG lists (say some 100 elements), but for most lists I saw, this seems to be ok. Paginating lists would be a valuable enhancement. And using XSLT on a record collection could also be a way to ease, standardize, and boost the lists display. -- Henri-Damien LAURENT
With XSLT on in the OPAC we see the subtitles, but not in the staff client. I have contracted with LibLime to display the b in the Staff using XSLT, but am unsure the development timeline at this point. David Schuster LAURENT Henri-Damien-2 wrote:
Owen Leonard wrote:
At the moment when you look at the contents of a list in the OPAC or the staff client you don't see subtitles. In other places in Koha I've seen this used to grab subtitles:
my $subtitle = C4::Biblio::get_koha_field_from_marc('bibliosubtitle', 'subtitle', $record, '');
Where $record is set by doing:
my $record = GetMarcBiblio($biblionumber);
It works to make these changes in C4/VirtualShelves/Page.pm (around line 183), but I'm not sure that's the right thing to do here--I'm concerned about the overhead of doing that when looping through list contents.
Yes? No?
-- Owen
I would also be concerned about the fact that not doing that would not display subtitles. And it is the case. I donot know for VERY LONG lists (say some 100 elements), but for most lists I saw, this seems to be ok. Paginating lists would be a valuable enhancement. And using XSLT on a record collection could also be a way to ease, standardize, and boost the lists display. -- Henri-Damien LAURENT _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
-- View this message in context: http://old.nabble.com/A-question-about-subtitles-and-performance-tp26979215p... Sent from the Koha - Dev mailing list archive at Nabble.com.
2010/1/5 David Schuster <dschust1@tx.rr.com>:
With XSLT on in the OPAC we see the subtitles, but not in the staff client. I have contracted with LibLime to display the b in the Staff using XSLT, but am unsure the development timeline at this point.
There is a patch floating around that implements this, as well as the subtitles in virtual shelves. NEKLS had reported a bug. Ill try to dig it up. David, your work is for Koha eh? Chris
Yes all Plano ISD coding is with the intention it be contributed to community. Chris Cormack-6 wrote:
2010/1/5 David Schuster <dschust1@tx.rr.com>:
With XSLT on in the OPAC we see the subtitles, but not in the staff client. I have contracted with LibLime to display the b in the Staff using XSLT, but am unsure the development timeline at this point.
There is a patch floating around that implements this, as well as the subtitles in virtual shelves. NEKLS had reported a bug. Ill try to dig it up.
David, your work is for Koha eh?
Chris _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
-- View this message in context: http://old.nabble.com/A-question-about-subtitles-and-performance-tp26979215p... Sent from the Koha - Dev mailing list archive at Nabble.com.
participants (4)
-
Chris Cormack -
David Schuster -
LAURENT Henri-Damien -
Owen Leonard