@arsedizioni/ars-utils 21.1.81 → 21.1.82
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.
|
@@ -2728,8 +2728,10 @@ class ClipperReferencesComponent extends ClipperSearchResultManager {
|
|
|
2728
2728
|
newParams.mode === ClipperQueryReferencesMode.ChangesOut;
|
|
2729
2729
|
newParams.returnModifierInfo =
|
|
2730
2730
|
newParams.mode !== ClipperQueryReferencesMode.ChangesOut;
|
|
2731
|
+
// New search, reset paging
|
|
2731
2732
|
if (newSearch) {
|
|
2732
2733
|
newParams.first = 0;
|
|
2734
|
+
this.filterParams.first = 0;
|
|
2733
2735
|
}
|
|
2734
2736
|
// Apply facets
|
|
2735
2737
|
if (this.snapshot.facets?.fromDate) {
|
|
@@ -3845,7 +3847,9 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
|
|
|
3845
3847
|
newParams.modifierTitle = this.filterParams.modifierTitle;
|
|
3846
3848
|
}
|
|
3847
3849
|
else {
|
|
3848
|
-
|
|
3850
|
+
if (this.filterParams.text) {
|
|
3851
|
+
newParams.text = ClipperSearchUtils.normalizeTextQuery2(this.filterParams.text);
|
|
3852
|
+
}
|
|
3849
3853
|
newParams.titleOnly = this.filterParams.titleOnly;
|
|
3850
3854
|
newParams.fromDate = this.filterParams.fromDate;
|
|
3851
3855
|
newParams.toDate = this.filterParams.toDate;
|
|
@@ -3899,6 +3903,9 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
|
|
|
3899
3903
|
if (newParams.types.length == 0 && this.filterParams.type) {
|
|
3900
3904
|
newParams.types = [{ name: '?', value: this.filterParams.type }];
|
|
3901
3905
|
}
|
|
3906
|
+
if (newParams.text) {
|
|
3907
|
+
newParams.text = ClipperSearchUtils.normalizeTextQuery2(newParams.text);
|
|
3908
|
+
}
|
|
3902
3909
|
}
|
|
3903
3910
|
// New saerch reset pagination
|
|
3904
3911
|
if (newSearch) {
|