I have two api calls , with the only difference being in the array parameters :
// it is used for displaying whole list
Query 1 : limit=25¶meter=[deleted=false]
//it is used for displaying on basis of id
Query 2 : limit=25¶meter=[deleted=false,id=10005]
I tried using term , also something like but it takes both the query as one
parameter: term({
generate: '[deleted=false]',
matcher: '[deleted=false]'}),
parameter: term({
generate:'[deleted=false,id=10005]',
matcher:'[deleted=false,id=10005]'}),
Also , i passed the exact query but it doesn't work
Any suggestions on how to do it ?
Aucun commentaire:
Enregistrer un commentaire