Skip to content
Snippets Groups Projects

Resolve "Réorganisation criterion (null, not null)"

Merged Angapay Divin requested to merge 41-reorganisation-criterion-null-not-null into develop
6 files
+ 28
18
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -23,6 +23,7 @@ export class DateComponent extends AbstractSearchTypeComponent {
@@ -23,6 +23,7 @@ export class DateComponent extends AbstractSearchTypeComponent {
if (criterion) {
if (criterion) {
this.form.controls.date.setValue(new Date((criterion as FieldCriterion).value));
this.form.controls.date.setValue(new Date((criterion as FieldCriterion).value));
} else {
} else {
 
this.form.controls.operator.setValue(this.attribute.operator);
if(! this.attribute.dynamic_operator){
if(! this.attribute.dynamic_operator){
this.operators = searchTypeOperators.filter(
this.operators = searchTypeOperators.filter(
operator => [this.attribute.operator, 'nl', 'nnl'].includes(operator.value)
operator => [this.attribute.operator, 'nl', 'nnl'].includes(operator.value)
Loading