mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-4985] Removed unused code from base-query-builder.service.ts
This commit is contained in:
committed by
Jatin_Chugh
parent
a75d6ebe15
commit
05f2524967
@@ -487,27 +487,12 @@ export abstract class BaseQueryBuilderService {
|
||||
let query = '';
|
||||
|
||||
this.categories.forEach((facet) => {
|
||||
let customQuery: string;
|
||||
|
||||
if (facet.component.selector === 'widget-composite') {
|
||||
const widgetTabs: any[] = facet.component.settings.tabs;
|
||||
widgetTabs.forEach(tab => {
|
||||
customQuery = this.queryFragments[tab.id];
|
||||
if (customQuery) {
|
||||
if (query.length > 0) {
|
||||
query += ' AND ';
|
||||
}
|
||||
query += `(${customQuery})`;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
customQuery = this.queryFragments[facet.id];
|
||||
if (customQuery) {
|
||||
if (query.length > 0) {
|
||||
query += ' AND ';
|
||||
}
|
||||
query += `(${customQuery})`;
|
||||
const customQuery = this.queryFragments[facet.id];
|
||||
if (customQuery) {
|
||||
if (query.length > 0) {
|
||||
query += ' AND ';
|
||||
}
|
||||
query += `(${customQuery})`;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user