Item8829: Integer index doesn't work for queries
Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Using a constant integer index in a query doesn't work. For example, in a topic with more than 2 attachments, then
%QUERY{"attachments[1].name"}%
should return the name of the second attachment. Instead it returns a list of all the attachments.
--
CrawfordCurrie - 03 Apr 2010
0-based or 1-based indexing system?
--
WillNorris - 03 Apr 2010
Zero based; and I let it support negative indices in the perl way too (one of the few things I really like in perl
)
--
CrawfordCurrie - 04 Apr 2010
This fix "broke" a miscoded test (Fn_QUERY)
--
CrawfordCurrie - 08 Apr 2010