Skip to content

Commit

Permalink
Removed: the queryFields params from inProgress, completed, carrierPa…
Browse files Browse the repository at this point in the history
…rtyId and shipment action for consistancy(162)
  • Loading branch information
ymaheshwari1 committed Jul 10, 2023
1 parent 2835399 commit 96f63cc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/store/modules/order/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ const actions: ActionTree<OrderState, RootState> = {
...payload,
queryString: inProgressQuery.queryString,
viewSize: inProgressQuery.viewSize,
queryFields: 'productId productName virtualProductName orderId search_orderIdentifications productSku customerId customerName goodIdentifications',
sort: 'orderDate asc',
groupBy: 'picklistBinId',
filters: {
Expand Down Expand Up @@ -352,7 +351,6 @@ const actions: ActionTree<OrderState, RootState> = {
...payload,
queryString: completedOrderQuery.queryString,
viewSize: completedOrderQuery.viewSize,
queryFields: 'productId productName virtualProductName orderId search_orderIdentifications productSku customerId customerName goodIdentifications',
groupBy: 'picklistBinId',
sort: 'orderDate asc',
filters: {
Expand Down
2 changes: 0 additions & 2 deletions src/views/Completed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ export default defineComponent({
async fetchShipmentMethods() {
const payload = prepareOrderQuery({
viewSize: "0", // passing viewSize as 0, as we don't want to fetch any data
queryFields: 'productId productName virtualProductName orderId search_orderIdentifications productSku customerId customerName goodIdentifications',
groupBy: 'picklistBinId',
sort: 'orderDate asc',
defType: "edismax",
Expand Down Expand Up @@ -407,7 +406,6 @@ export default defineComponent({
async fetchCarrierPartyIds() {
const payload = prepareOrderQuery({
viewSize: "0", // passing viewSize as 0, as we don't want to fetch any data
queryFields: 'productId productName virtualProductName orderId search_orderIdentifications productSku customerId customerName goodIdentifications',
groupBy: 'picklistBinId',
sort: 'orderDate asc',
defType: "edismax",
Expand Down

0 comments on commit 96f63cc

Please sign in to comment.