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