Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10195

Add the ability in performFind service to set OR search criteria

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • None
    • 18.12.01
    • None
    • None

    Description

      When using performFind service for advanced entity search, we can meet the need to have search criteria that do not intersect between them, but make the union of the condition.

      To realize this improvement we propose to set a new suffix _grp.

      Thus using :

      <field name="field1"><text-find/></field>

      <field name="field1_grp"><hidden value="unionKey"/></field>

      <field name="field2"><text-find/></field>

      <field name="field2_grp"><hidden value="unionKey"/></field>

      Then the two search fields criteria will be unioned during the search by the OR operator.

      Several different keys can be used for several different unioned condition.

       

      Attachments

        1. OFBIZ-10195.patch
          56 kB
          Gil Portenseigne
        2. OFBIZ-10195.patch
          66 kB
          Gil Portenseigne
        3. OFBIZ-10195.patch
          4 kB
          Gil Portenseigne

        Activity

          People

            pgil Gil Portenseigne
            pgil Gil Portenseigne
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: