@smartsoft001/crud-shell-angular 1.1.695 → 1.1.696

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