Jetspeed 2
  1. Jetspeed 2
  2. JS2-896

Ajax api GetPortletsAction Improvement about filter

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.2.0
    • Component/s: Ajax
    • Labels:
      None
    • Environment:
      tomcat 5.5, Window Xp, IE7, FF

      Description

      Hello~

      I need getportlet list filtering by keyword.

      So, I improve to ajaxApi about GetPortletsAction search filter by keyword.

      It use to follow example.

      ex > http://localhost/jetspeed/ajaxapi/?action=getportlets&filter=keyword1,keyword2,keyword3

      Result portlet list is contained "keyword1,keyword2,keyword3".

        Activity

        Hide
        Woonsan Ko added a comment -

        Thanks for the patch, Jeseung.
        I think the patch intended to use multiple keywords to search portlets.
        However, the existing search engine allows a delimiter for the purpose: ' | '.
        (The search engine follows the Lucene syntax because it's using Lucene internally.)
        For example, searching by multiple keywords can be done like the following:

        http://localhost/jetspeed/ajaxapi/?action=getportlets&filter=keyword1+|keyword2|+keyword3

        So, we don't need to fix this issue.

        Show
        Woonsan Ko added a comment - Thanks for the patch, Jeseung. I think the patch intended to use multiple keywords to search portlets. However, the existing search engine allows a delimiter for the purpose: ' | '. (The search engine follows the Lucene syntax because it's using Lucene internally.) For example, searching by multiple keywords can be done like the following: http://localhost/jetspeed/ajaxapi/?action=getportlets&filter=keyword1+ | keyword2 |+keyword3 So, we don't need to fix this issue.
        Hide
        Jeseung Choi added a comment -

        It's a patch.

        Show
        Jeseung Choi added a comment - It's a patch.

          People

          • Assignee:
            Woonsan Ko
            Reporter:
            Jeseung Choi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 3h 20m
              3h 20m
              Remaining:
              Remaining Estimate - 3h 20m
              3h 20m
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development