Regarding Issue of Date Range Filter not giving appropriate results.
Describe the bug We are having issues in getting all search results for date range filter. In this filter, we have two input fields for Start Date and End Date. When we select start date and then end date and click apply button to get search results, then it's not giving us results specifically for assets on end date.
Environment
- AEM Version: 2022.7.8085.20220725T140323Z
- Asset Share Commons Version: 2.2.0-11
- Issue encountered in both Author and Publish.
Expected behavior It should give us all search results including ones on End Date.
Screenshots
We used sample asset having license expiration date set as 2022-9-2. As shown below, We added dates in Start Date and End Date and then click on apply button to apply filter.

After that page would give message "Your search did not match any assets." Here we should get asset in search result.

@Jaski96 can you show a screenshot of the component configuration? thanks!
What are the dates on the assets that arent showing up?

@davidjgonzalez Assets on end date as shown in above comment. We have set license expiration date as 2022-9-2 for End Date input field but asset is not retrieved in search result.
@Jaski96 the date range seems to work for me -- are you sure that the property is being saved as a Date field? and indexed as such as well?
@davidjgonzalez Let me explain in two scenarios.
Scenario-1 I used one asset with expiration date set as 2022-09-22. So, now If I use date range filter by setting date for start date and end date as 20 Sep and 22 Sep respectively as shown in below screenshot and click apply button for searching.

Having following authoring component configuration.

In this case, I don't get asset in end date but I get asset from start date.
Scenario-2 I used one asset with expiration date set as 2022-09-22. So, now If I use date range filter by setting date for start date and end date as 20 Sep and 22 Sep respectively as shown in below screenshot without clicking apply button.

Having following authoring component configuration.

In this case, I am getting assets from both start date and end date.