Hello Terran,

I wanted to try to get away from the expanders since only one type of added 
content was shown at once.  So we removed that expander and added the added 
content inline below the Content descriptions.
http://egcatalog.larl.org/eg/opac/record/32155?query=a%20clash%20of%20kings;qtype=keyword;locg=1;detail_record_view=0

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/stompro/added_content_inline_larl

I don’t notice any problems performance wise, but we are only using a few types 
of added content, all provided by Content Café, which delivers it all to us in 
one request and then caches it in memcache.  Since I know that we are only 
getting reviews and author notes, I set Record.pm and addedcontentinline.tt2 to 
only try to fetch those two to cut down on extra request that will never have 
content.

Could you send me a link to the commit you were referring to again, in the link 
you sent I’m not having any luck spotting which changes you made to show the 
expander open by default.

Josh Stompro - LARL IT Director

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Terran 
McCanna
Sent: Friday, May 12, 2017 10:48 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Added Content Reviews Visibility - Record Detail

Hi Josh,
Similar problem here - we have NoveList Select and I tweaked the logic a little 
to force the 'awards' section that it appears in to be always expanded when the 
page first loads. It's still clunky because now if you expand a different 
section and then go back to that section, it loses the NoveList added content, 
so I need to work on it some more. I'm curious to see what you come up with as 
a good solution. Here's what I have so far:

http://gapines.org/eg/opac/record/5602301?query=game%20of%20thrones;qtype=keyword;locg=1;detail_record_view=0

http://git.evergreen-ils.org/?p=evergreen/pines.git;a=blob;f=Open-ILS/src/templates/opac/parts/record/extras.tt2;h=b35cf5471dc50c566888a6c6bd499e05df6a0240;hb=HEAD

Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>

Reply via email to