Support filtering on non-std date field names in performFind and prepareFind
---------------------------------------------------------------------------- Key: OFBIZ-4374 URL: https://issues.apache.org/jira/browse/OFBIZ-4374 Project: OFBiz Issue Type: Improvement Components: framework Affects Versions: SVN trunk Environment: REV 1152668 Reporter: Anne Jessel Priority: Trivial I had a need to filter by date ranges for entities that didn't follow the standard fromDate and thruDate field-naming pattern. I therefore enhanced prepareFind and performFind services so they could be passed the names of the fields to use in place of fromDate and thruDate when the filterByDate option was chosen. Thought this might be useful to others, even though it isn't currently used in OOTB code. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anne Jessel updated OFBIZ-4374: ------------------------------- Attachment: OFBIZ-4374_FilterNonStdDateFieldNames.patch > Support filtering on non-std date field names in performFind and prepareFind > ---------------------------------------------------------------------------- > > Key: OFBIZ-4374 > URL: https://issues.apache.org/jira/browse/OFBIZ-4374 > Project: OFBiz > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Environment: REV 1152668 > Reporter: Anne Jessel > Priority: Trivial > Attachments: OFBIZ-4374_FilterNonStdDateFieldNames.patch > > > I had a need to filter by date ranges for entities that didn't follow the standard fromDate and thruDate field-naming pattern. I therefore enhanced prepareFind and performFind services so they could be passed the names of the fields to use in place of fromDate and thruDate when the filterByDate option was chosen. Thought this might be useful to others, even though it isn't currently used in OOTB code. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anne Jessel updated OFBIZ-4374: ------------------------------- Attachment: OFBIZ-4374_FilterNonStdDateFieldNames.patch Replaced git-format patch with svn-format patch, against REV 1160087. > Support filtering on non-std date field names in performFind and prepareFind > ---------------------------------------------------------------------------- > > Key: OFBIZ-4374 > URL: https://issues.apache.org/jira/browse/OFBIZ-4374 > Project: OFBiz > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Environment: REV 1152668 > Reporter: Anne Jessel > Priority: Trivial > Attachments: OFBIZ-4374_FilterNonStdDateFieldNames.patch, OFBIZ-4374_FilterNonStdDateFieldNames.patch > > > I had a need to filter by date ranges for entities that didn't follow the standard fromDate and thruDate field-naming pattern. I therefore enhanced prepareFind and performFind services so they could be passed the names of the fields to use in place of fromDate and thruDate when the filterByDate option was chosen. Thought this might be useful to others, even though it isn't currently used in OOTB code. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |