@plusscommunities/pluss-maintenance-web-a 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
|
@@ -583,7 +583,6 @@ const stringActions = Apis$2.stringActions;
|
|
|
583
583
|
var jobStatusOptions = [
|
|
584
584
|
{
|
|
585
585
|
text: "Open",
|
|
586
|
-
alias: "Unassigned",
|
|
587
586
|
order: 0,
|
|
588
587
|
color: "#d5dde4",
|
|
589
588
|
category: "Not Actioned"
|
|
@@ -780,16 +779,15 @@ class JobList extends React.Component {
|
|
|
780
779
|
} = this.props;
|
|
781
780
|
const params = {};
|
|
782
781
|
|
|
783
|
-
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
784
|
-
// Expand each status to include its `alias` so legacy DB values (e.g. "Unassigned"
|
|
785
|
-
// for "Open") still match the filter.
|
|
782
|
+
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
786
783
|
if (selectedStatusFilter) {
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
784
|
+
if (selectedStatusFilter === STATUS_IMCOMPLETE) {
|
|
785
|
+
// Exclude completed statuses - pass all non-completed status texts
|
|
786
|
+
const incompleteStatuses = statusTypes.filter(s => s.category !== STATUS_COMPLETED).map(s => s.text);
|
|
787
|
+
if (incompleteStatuses.length > 0) {
|
|
788
|
+
params.status = incompleteStatuses.join(',');
|
|
789
|
+
}
|
|
790
|
+
} else {
|
|
793
791
|
params.status = selectedStatusFilter;
|
|
794
792
|
}
|
|
795
793
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -552,7 +552,6 @@ const stringActions = Apis$2.stringActions;
|
|
|
552
552
|
var jobStatusOptions = [
|
|
553
553
|
{
|
|
554
554
|
text: "Open",
|
|
555
|
-
alias: "Unassigned",
|
|
556
555
|
order: 0,
|
|
557
556
|
color: "#d5dde4",
|
|
558
557
|
category: "Not Actioned"
|
|
@@ -749,16 +748,15 @@ class JobList extends Component {
|
|
|
749
748
|
} = this.props;
|
|
750
749
|
const params = {};
|
|
751
750
|
|
|
752
|
-
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
753
|
-
// Expand each status to include its `alias` so legacy DB values (e.g. "Unassigned"
|
|
754
|
-
// for "Open") still match the filter.
|
|
751
|
+
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
755
752
|
if (selectedStatusFilter) {
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
753
|
+
if (selectedStatusFilter === STATUS_IMCOMPLETE) {
|
|
754
|
+
// Exclude completed statuses - pass all non-completed status texts
|
|
755
|
+
const incompleteStatuses = statusTypes.filter(s => s.category !== STATUS_COMPLETED).map(s => s.text);
|
|
756
|
+
if (incompleteStatuses.length > 0) {
|
|
757
|
+
params.status = incompleteStatuses.join(',');
|
|
758
|
+
}
|
|
759
|
+
} else {
|
|
762
760
|
params.status = selectedStatusFilter;
|
|
763
761
|
}
|
|
764
762
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -572,7 +572,6 @@
|
|
|
572
572
|
var jobStatusOptions = [
|
|
573
573
|
{
|
|
574
574
|
text: "Open",
|
|
575
|
-
alias: "Unassigned",
|
|
576
575
|
order: 0,
|
|
577
576
|
color: "#d5dde4",
|
|
578
577
|
category: "Not Actioned"
|
|
@@ -769,16 +768,15 @@
|
|
|
769
768
|
} = this.props;
|
|
770
769
|
const params = {};
|
|
771
770
|
|
|
772
|
-
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
773
|
-
// Expand each status to include its `alias` so legacy DB values (e.g. "Unassigned"
|
|
774
|
-
// for "Open") still match the filter.
|
|
771
|
+
// Status filter: translate "All Incomplete" into the actual incomplete statuses
|
|
775
772
|
if (selectedStatusFilter) {
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
773
|
+
if (selectedStatusFilter === STATUS_IMCOMPLETE) {
|
|
774
|
+
// Exclude completed statuses - pass all non-completed status texts
|
|
775
|
+
const incompleteStatuses = statusTypes.filter(s => s.category !== STATUS_COMPLETED).map(s => s.text);
|
|
776
|
+
if (incompleteStatuses.length > 0) {
|
|
777
|
+
params.status = incompleteStatuses.join(',');
|
|
778
|
+
}
|
|
779
|
+
} else {
|
|
782
780
|
params.status = selectedStatusFilter;
|
|
783
781
|
}
|
|
784
782
|
}
|
package/package.json
CHANGED