@plusscommunities/pluss-maintenance-web-forms 1.1.38 → 1.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +8 -10
- package/dist/index.esm.js +8 -10
- package/dist/index.umd.js +8 -10
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -588,7 +588,6 @@ const stringActions = Apis$2.stringActions;
|
|
|
588
588
|
var jobStatusOptions = [
|
|
589
589
|
{
|
|
590
590
|
text: "Open",
|
|
591
|
-
alias: "Unassigned",
|
|
592
591
|
order: 0,
|
|
593
592
|
color: "#d5dde4",
|
|
594
593
|
category: "Not Actioned"
|
|
@@ -785,16 +784,15 @@ class JobList extends React.Component {
|
|
|
785
784
|
} = this.props;
|
|
786
785
|
const params = {};
|
|
787
786
|
|
|
788
|
-
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
789
|
-
// Expand each status to include its `alias` so legacy DB values (e.g. "Unassigned"
|
|
790
|
-
// for "Open") still match the filter.
|
|
787
|
+
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
791
788
|
if (selectedStatusFilter) {
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
789
|
+
if (selectedStatusFilter === STATUS_IMCOMPLETE) {
|
|
790
|
+
// Exclude completed statuses - pass all non-completed status texts
|
|
791
|
+
const incompleteStatuses = statusTypes.filter(s => s.category !== STATUS_COMPLETED).map(s => s.text);
|
|
792
|
+
if (incompleteStatuses.length > 0) {
|
|
793
|
+
params.status = incompleteStatuses.join(',');
|
|
794
|
+
}
|
|
795
|
+
} else {
|
|
798
796
|
params.status = selectedStatusFilter;
|
|
799
797
|
}
|
|
800
798
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -557,7 +557,6 @@ const stringActions = Apis$2.stringActions;
|
|
|
557
557
|
var jobStatusOptions = [
|
|
558
558
|
{
|
|
559
559
|
text: "Open",
|
|
560
|
-
alias: "Unassigned",
|
|
561
560
|
order: 0,
|
|
562
561
|
color: "#d5dde4",
|
|
563
562
|
category: "Not Actioned"
|
|
@@ -754,16 +753,15 @@ class JobList extends Component {
|
|
|
754
753
|
} = this.props;
|
|
755
754
|
const params = {};
|
|
756
755
|
|
|
757
|
-
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
758
|
-
// Expand each status to include its `alias` so legacy DB values (e.g. "Unassigned"
|
|
759
|
-
// for "Open") still match the filter.
|
|
756
|
+
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
760
757
|
if (selectedStatusFilter) {
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
758
|
+
if (selectedStatusFilter === STATUS_IMCOMPLETE) {
|
|
759
|
+
// Exclude completed statuses - pass all non-completed status texts
|
|
760
|
+
const incompleteStatuses = statusTypes.filter(s => s.category !== STATUS_COMPLETED).map(s => s.text);
|
|
761
|
+
if (incompleteStatuses.length > 0) {
|
|
762
|
+
params.status = incompleteStatuses.join(',');
|
|
763
|
+
}
|
|
764
|
+
} else {
|
|
767
765
|
params.status = selectedStatusFilter;
|
|
768
766
|
}
|
|
769
767
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -577,7 +577,6 @@
|
|
|
577
577
|
var jobStatusOptions = [
|
|
578
578
|
{
|
|
579
579
|
text: "Open",
|
|
580
|
-
alias: "Unassigned",
|
|
581
580
|
order: 0,
|
|
582
581
|
color: "#d5dde4",
|
|
583
582
|
category: "Not Actioned"
|
|
@@ -774,16 +773,15 @@
|
|
|
774
773
|
} = this.props;
|
|
775
774
|
const params = {};
|
|
776
775
|
|
|
777
|
-
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
778
|
-
// Expand each status to include its `alias` so legacy DB values (e.g. "Unassigned"
|
|
779
|
-
// for "Open") still match the filter.
|
|
776
|
+
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
780
777
|
if (selectedStatusFilter) {
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
778
|
+
if (selectedStatusFilter === STATUS_IMCOMPLETE) {
|
|
779
|
+
// Exclude completed statuses - pass all non-completed status texts
|
|
780
|
+
const incompleteStatuses = statusTypes.filter(s => s.category !== STATUS_COMPLETED).map(s => s.text);
|
|
781
|
+
if (incompleteStatuses.length > 0) {
|
|
782
|
+
params.status = incompleteStatuses.join(',');
|
|
783
|
+
}
|
|
784
|
+
} else {
|
|
787
785
|
params.status = selectedStatusFilter;
|
|
788
786
|
}
|
|
789
787
|
}
|
package/package.json
CHANGED