[OPEN-ILS-DEV] Interesting Supercat strangeness
Mike Rylander
mrylander at gmail.com
Fri Jun 5 14:34:05 EDT 2009
On Fri, Jun 5, 2009 at 2:23 PM, Mike Rylander <mrylander at gmail.com> wrote:
> On Fri, Jun 5, 2009 at 12:19 PM, Grant Johnson <fgjohnson at upei.ca> wrote:
>> Hey all,
>>
>> a Bookbag with one item displays fine using MOST Supercat syntax
>>
>> Sample:
>> http://islandpines.roblib.upei.ca/opac/extras/feed/bookbag/htmlholdings-full/66
>> http://islandpines.roblib.upei.ca/opac/extras/feed/bookbag/rss2/66
>> http://islandpines.roblib.upei.ca/opac/extras/feed/bookbag/rss2-full/66
>> http://islandpines.roblib.upei.ca/opac/extras/feed/bookbag/html/66
>> http://islandpines.roblib.upei.ca/opac/extras/feed/bookbag/html-full/66
>> Note that this is a bookbag with exactly one record.
>>
>> Now try:
>> http://islandpines.roblib.upei.ca/opac/extras/feed/bookbag/opac/66
>>
>> Strange... Any idea's?
>>
>
> It (the rlist display code in the OPAC) is splitting the number into
> digits. Instead of giving you record 373480, it's giving you records
> 3, 7, 3 (again), 4, 8, and 0 (which doesn't exist).
>
> I'll look at that now in trunk.
It was working under the assumption that rl would always have multiple
values. The code now checks for that, and you can apply the attached
patch to your installation to get the update.
--
Mike Rylander
| VP, Research and Design
| Equinox Software, Inc. / The Evergreen Experts
| phone: 1-877-OPEN-ILS (673-6457)
| email: miker at esilibrary.com
| web: http://www.esilibrary.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rlist.patch
Type: text/x-diff
Size: 599 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20090605/bd5677ed/attachment.patch
More information about the Open-ils-dev
mailing list