Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-2495

Support from HST Query Filter to do equals case-insensitive and sort by case-insensitive

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.28.05
    • None
    • Sprint 84

    Description

      Since Jackrabbit 2.6 has support for doing equals searches and order by with fn:lower-case or fn:upper-case we can support in the HST api the following:

      HstQuery now has
      void addOrderByAscending(String fieldNameAttribute);
      void addOrderByDescending(String fieldNameAttribute);

      we can add
      void addOrderByAscendingCaseInsensitive(String fieldNameAttribute);
      void addOrderByDescendingCaseInsensitive(String fieldNameAttribute);

      To Filter we now have
      void addEqualTo(String fieldAttributeName, Object value) throws FilterException ;
      void addNotEqualTo(String fieldAttributeName, Object value) throws FilterException ;

      we can add
      void addEqualToCaseInsensitive(String fieldAttributeName, Object value) throws FilterException ;
      void addNotEqualToCaseInsensitive(String fieldAttributeName, Object value) throws FilterException ;

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: