You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ui/ui-frontend/projects/collect/src/app/collect/archive-search-collect/archive-search-collect.component.ts
+51-44Lines changed: 51 additions & 44 deletions
Original file line number
Diff line number
Diff line change
@@ -911,58 +911,38 @@ export class ArchiveSearchCollectComponent extends SidenavPage<any> implements O
@@ -1063,6 +1043,33 @@ export class ArchiveSearchCollectComponent extends SidenavPage<any> implements O
1063
1043
}
1064
1044
}
1065
1045
1046
+
privateaddCriteria(
1047
+
keyElt: string,
1048
+
valueElt: CriteriaValue,
1049
+
labelElt: string,
1050
+
keyTranslated: boolean,
1051
+
operator: string,
1052
+
category: SearchCriteriaTypeEnum,
1053
+
valueTranslated: boolean,
1054
+
dataType: string,
1055
+
emit: boolean,
1056
+
){
1057
+
this.archiveHelperService.addCriteria(
1058
+
this.searchCriterias,
1059
+
this.searchCriteriaKeys,
1060
+
this.nbQueryCriteria,
1061
+
keyElt,
1062
+
valueElt,
1063
+
labelElt,
1064
+
keyTranslated,
1065
+
operator,
1066
+
category,
1067
+
valueTranslated,
1068
+
dataType,
1069
+
emit,
1070
+
);
1071
+
}
1072
+
1066
1073
trackBy(_: number,unit: Unit){
1067
1074
// FIXME: for some reason, that trackBy - used to make Angular update the Unit in the list when it's modified in the sidenav - is not always working correctly: sometimes, the Unit is updated, sometimes not. It looks like it is updated for "simple" Units (with only Généralités) and not for "complex" ones.
0 commit comments