comparison client/src/components/importconfiguration/ScheduledImports.vue @ 5278:8d19d4701f0c

Fixed saving and use of SortBy in manually running saved imports. I broke this when making SortBy optional.
author wilde@azure1.rgb.intevation.de
date Thu, 11 Jun 2020 11:11:37 +0200
parents 1ff56484db4e
children 1695e17c5a83
comparison
equal deleted inserted replaced
5277:3bab0e19f08b 5278:8d19d4701f0c
879 } 879 }
880 if (this.isFeatureTypeRequired) { 880 if (this.isFeatureTypeRequired) {
881 if (!this.featureType) return; 881 if (!this.featureType) return;
882 data["feature-type"] = this.featureType; 882 data["feature-type"] = this.featureType;
883 } 883 }
884 if (this.sortBy) {
885 data["sort-by"] = this.sortBy;
886 }
884 if (this.isToleranceRequired) { 887 if (this.isToleranceRequired) {
885 if (!this.tolerance) return; 888 if (!this.tolerance) return;
886 data["tolerance"] = parseFloat(this.tolerance); 889 data["tolerance"] = parseFloat(this.tolerance);
887 } 890 }
888 if (this.isCredentialsRequired) { 891 if (this.isCredentialsRequired) {
957 : IMPORTTYPEKIND[this.import_]; 960 : IMPORTTYPEKIND[this.import_];
958 if (this.isURLRequired) { 961 if (this.isURLRequired) {
959 if (!this.url) return; 962 if (!this.url) return;
960 config["url"] = this.url; 963 config["url"] = this.url;
961 config["insecure"] = this.insecure; 964 config["insecure"] = this.insecure;
965 }
966 if (this.sortBy) {
967 config["sort-by"] = this.sortBy;
962 } 968 }
963 if (this.isFeatureTypeRequired) { 969 if (this.isFeatureTypeRequired) {
964 if (!this.featureType) return; 970 if (!this.featureType) return;
965 config["feature-type"] = this.featureType; 971 config["feature-type"] = this.featureType;
966 } 972 }