Please sign in to comment.
Fix search on dates through web service
There were 2 issues. First, if no restriction other than date is applied then no result is return due to bug in the query generated. Now a dummy query is added in front of so nullify the bug. Second shorter comparator first checking caused number format exception so the order of checking for comparator is fixed. Signed-off-by: Imran M Yousuf <email@example.com>
- Loading branch information...
Showing with 44 additions and 34 deletions.
- +22 −16 ...ch-impl/src/main/java/com/smartitengineering/cms/spi/impl/content/search/ContentSearcherImpl.java
- +12 −7 ...h-impl/src/main/java/com/smartitengineering/cms/spi/impl/type/search/ContentTypeSearcherImpl.java
- +10 −11 ...c/main/java/com/smartitengineering/cms/ws/resources/content/searcher/ContentSearcherResource.java