summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/promoApi.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/promoApi.js b/src/api/promoApi.js
index 0e82c8b9..f262db8d 100644
--- a/src/api/promoApi.js
+++ b/src/api/promoApi.js
@@ -18,6 +18,8 @@ export const fetchPromoItemsSolr = async (type) => {
let sort ='sort=if(exists(sequence_i),0,1) asc, sequence_i asc, if(exists(total_qty_sold_f), total_qty_sold_f, -1) desc';
let start = 0
let rows = 100
+ // let start = 0
+ // let rows = 10
try {
const queryParams = new URLSearchParams({ q: type });
const response = await fetch(`/solr/promotion_program_lines/select?${queryParams.toString()}&rows=${rows}&start=${start}&${sort}`);