mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[AAE-19610] Add specific date range settings to search filter (#9250)
* [AAE-19610] add specific date range settings to search filter * [AAE-19610] remove unnecessary properties * [AAE-19610] fix missing property bug * [AAE-19610] fix lint issues
This commit is contained in:
@@ -32,6 +32,11 @@ describe('ContentNodeSelectorPanelService', () => {
|
||||
expect(contentNodeSelectorPanelService.isTypeSupported('d:date')).toEqual(true);
|
||||
});
|
||||
|
||||
it('should support datetime type', () => {
|
||||
expect(contentNodeSelectorPanelService.modelPropertyTypeToSearchFilterTypeMap.get('d:datetime')).toEqual('datetime-range');
|
||||
expect(contentNodeSelectorPanelService.isTypeSupported('d:datetime')).toEqual(true);
|
||||
});
|
||||
|
||||
it('should return false for an unsupported type', () => {
|
||||
expect(contentNodeSelectorPanelService.isTypeSupported('d:unsupported')).toEqual(false);
|
||||
});
|
||||
|
Reference in New Issue
Block a user