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

        Jeseung Choi created issue -
        Hide
        Jeseung Choi added a comment -

        It's a patch.

        Show
        Jeseung Choi added a comment - It's a patch.
        Jeseung Choi made changes -
        Field Original Value New Value
        Attachment Ajaxapi_GetPortletsAction.patch [ 12386853 ]
        David Sean Taylor made changes -
        Assignee Woonsan Ko [ woon_san ]
        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.
        Woonsan Ko made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        81d 2h 16m 1 Woonsan Ko 14/Oct/08 08:43

          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