@smartsoft001/crud-shell-angular 1.1.667 → 1.1.668

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.
@@ -1670,7 +1670,12 @@
1670
1670
  }
1671
1671
  if (filter && filter.query) {
1672
1672
  filter.query.forEach(function (q) {
1673
- query += "&" + q.key + q.type + q.value;
1673
+ if (q.value && (typeof q.value === 'string') && q.value[0] !== "'" && q.value[0] !== '"') {
1674
+ query += "&" + q.key + q.type + ("'" + q.value + "'");
1675
+ }
1676
+ else {
1677
+ query += "&" + q.key + q.type + q.value;
1678
+ }
1674
1679
  });
1675
1680
  }
1676
1681
  return query ? "?" + query.replace("&", "") : "";