[OPEN-ILS-DEV] Interesting Supercat strangeness

Grant Johnson fgjohnson at upei.ca
Fri Jun 5 14:42:31 EDT 2009


Excellent.
Thanks M

>>> On 2009/06/05 at 3:34 PM, in message
<b918cf3d0906051134o1d71b758gcfe6a74ed7034277 at mail.gmail.com>, Mike Rylander
<mrylander at gmail.com> wrote:
> 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/6 
> 6
>>> 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.



More information about the Open-ils-dev mailing list