@sapui5/sap.fe.core 1.96.12 → 1.96.13
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/package.json
CHANGED
package/src/sap/fe/core/.library
CHANGED
|
@@ -76,6 +76,15 @@ sap.ui.define(
|
|
|
76
76
|
"Edm.TimeOfDay"
|
|
77
77
|
];
|
|
78
78
|
|
|
79
|
+
function normalizeSearchTerm(sSearchTerm) {
|
|
80
|
+
if (!sSearchTerm) {
|
|
81
|
+
return undefined;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return sSearchTerm.replace(/"/g, " ").replace(/\\/g, "\\\\"); //escape backslash characters. Can be removed if odata/binding handles backend errors responds.
|
|
85
|
+
//we do not include .split() and .reduce() like in the higher releases, since these two will change the search term in an incompatible way
|
|
86
|
+
}
|
|
87
|
+
|
|
79
88
|
/**
|
|
80
89
|
* Returns the actual property type of a given datafield or property.
|
|
81
90
|
*
|
|
@@ -2614,7 +2623,8 @@ sap.ui.define(
|
|
|
2614
2623
|
getRefreshStrategyForIntent: getRefreshStrategyForIntent,
|
|
2615
2624
|
storeControlRefreshStrategyForHash: storeControlRefreshStrategyForHash,
|
|
2616
2625
|
restoreView: restoreView,
|
|
2617
|
-
getParameterPath: getParameterPath
|
|
2626
|
+
getParameterPath: getParameterPath,
|
|
2627
|
+
normalizeSearchTerm: normalizeSearchTerm
|
|
2618
2628
|
};
|
|
2619
2629
|
|
|
2620
2630
|
return CommonUtils;
|