Details

    • 3

    Description

      We have custom indexers that store all sorts of fields on our custom tables – including "name", "status", foreign keys for custom tables, etc.

      Using these keys, we've implemented an advanced search where users select specific values for specific fields, with code like the following:

      long someForeignKey = GetterUtil.getLong(searchContext.getAttribute("myForeignKeyName"));
      
      if (someForeignKey > 0) {
          contextQuery.addRequiredTerm("myForeignKeyName", someForeignKey);
      }
      

      Since FP33, none of these custom filters seem to work right any more – the only filters I can get to make any changes to the search results are "name" and "status".

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            ethan.bustad Ethan Bustad (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 4 weeks ago

              Packages

                Version Package
                7.0.0 DXP SP6