@things-factory/warehouse-ui 4.3.784 → 4.3.787

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.
@@ -283,11 +283,11 @@ export class BufferLocationSelector extends localize(i18next)(LitElement) {
283
283
  return this.shadowRoot.querySelector('data-grist#location')
284
284
  }
285
285
 
286
- async fetchWarehouses({ page, limit, sorters = [] }) {
286
+ async fetchWarehouses({ page: _page, limit: _limit, sorters = [] }) {
287
287
  const response = await client.query({
288
288
  query: gql`
289
- query warehouses($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
290
- warehouses(filters: $filters, pagination: $pagination, sortings: $sortings) {
289
+ query warehouses($filters: [Filter!], $sortings: [Sorting!]) {
290
+ warehouses(filters: $filters, sortings: $sortings) {
291
291
  items {
292
292
  id
293
293
  name
@@ -300,7 +300,6 @@ export class BufferLocationSelector extends localize(i18next)(LitElement) {
300
300
  `,
301
301
  variables: {
302
302
  filters: this.searchForm.queryFilters,
303
- pagination: { page, limit },
304
303
  sortings: sorters
305
304
  }
306
305
  })
@@ -313,7 +312,7 @@ export class BufferLocationSelector extends localize(i18next)(LitElement) {
313
312
  }
314
313
  }
315
314
 
316
- async fetchLocations({ page, limit, sorters = [] }) {
315
+ async fetchLocations({ page: _page, limit: _limit, sorters = [] }) {
317
316
  if (!this._warehouseId) return
318
317
 
319
318
  let filters = []
@@ -336,8 +335,8 @@ export class BufferLocationSelector extends localize(i18next)(LitElement) {
336
335
  }
337
336
  const response = await client.query({
338
337
  query: gql`
339
- query locations($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
340
- locations(filters: $filters, pagination: $pagination, sortings: $sortings) {
338
+ query locations($filters: [Filter!], $sortings: [Sorting!]) {
339
+ locations(filters: $filters, sortings: $sortings) {
341
340
  items {
342
341
  id
343
342
  name
@@ -359,7 +358,6 @@ export class BufferLocationSelector extends localize(i18next)(LitElement) {
359
358
  `,
360
359
  variables: {
361
360
  filters: filters,
362
- pagination: { page, limit },
363
361
  sortings: sorters
364
362
  }
365
363
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/warehouse-ui",
3
- "version": "4.3.784",
3
+ "version": "4.3.787",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -33,5 +33,5 @@
33
33
  "@things-factory/shell": "^4.3.767",
34
34
  "@things-factory/warehouse-base": "^4.3.784"
35
35
  },
36
- "gitHead": "dae1fb8cbc409da6e78f52a2f8433caa3f544a54"
36
+ "gitHead": "dad39e86be326a731ad345afea52bba594d11452"
37
37
  }