@zauru-sdk/graphql 2.0.215 → 2.0.216

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.
@@ -383,7 +383,7 @@ const getPurchaseOrdersBetweenDatesStringQuery = (startDate, endDate, config) =>
383
383
  if (config.poDetailTagId) {
384
384
  conditions.push(`purchase_order_details: { tag_id: { _eq: ${config.poDetailTagId} } }`);
385
385
  }
386
- if (!config.id_number) {
386
+ if (!config.id_number && !config.ids?.length) {
387
387
  conditions.push(config.betweenIssueDate
388
388
  ? `issue_date: { _gte: "${startDate}", _lte: "${endDate}" }`
389
389
  : `created_at: { _gte: "${startDate}", _lte: "${endDate}"}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/graphql",
3
- "version": "2.0.215",
3
+ "version": "2.0.216",
4
4
  "description": "Queries de uso común para las aplicación de Zauru.",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -21,5 +21,5 @@
21
21
  "devDependencies": {
22
22
  "typescript": "^5.1.6"
23
23
  },
24
- "gitHead": "de66fec20d71561f11b35a0113838db838db6b56"
24
+ "gitHead": "66b6f658705bd4642f63be3a28a0f24aebce73d7"
25
25
  }