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

Auto-complete on lookup field should be able to support filter by date.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Trunk
    • 16.11.01
    • ALL COMPONENTS
    • None

    Description

      Hi,

      For the general reason, if the lookup popup (like as performFind service work) able to filter the result from date. so, in the auto complete for lookup filed should be also able too.

      Simple :

      add this tag in action tag before call LookupDecorator
      and filter on field "fromDate", "thruDate" as default.

          <set field="conditionDates.filterByDate" value="true"/>
      

      Advance :

      you can customize "fromDate" and "thruDate" field names by do follow below

          <set field="conditionDates.filterByDate" value="true"/>
          <set field="conditionDates.fromDateName" value="startDate"/>
          <set field="conditionDates.thruDateName" value="endDate"/>
      

      Best Regards,
      Kongrath

      Attachments

        1. OFBIZ-7266-NMA.patch
          3 kB
          Nicolas Malin
        2. OFBIZ-7266-NMA.patch
          3 kB
          Nicolas Malin
        3. OFBIZ-7266.patch
          3 kB
          Kongrath Suankaewmanee

        Activity

          People

            nmalin Nicolas Malin
            kongrath Kongrath Suankaewmanee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: