Open sathishmoo opened 8 years ago
Hi Tom,
I'm facing some issues while sort based on date
While sorting , result set is incorrect
I'll try and take a look this weekend!
Can someone help me? I am trying to Sort the results based on the Search API. everything is working fine, but don't know who to pass the Sort parameter ASC and DESCENDING along with SORT call.
$obj_query = (new \Search\Query('createdon > ' . $timex))
->fields(['channeldesc', 'channeltitle','voicedesc','uploadedby'])
->limit($items_per_page)
->offset($offset)
->sort('createdon',Query::ASC);
Can someone help, what I should be substituting in the place of "Query::ASC" to get sorted in Ascending order?
Thank you!
Tom -- can you please let me know how I should pass ASC and DESC to the sort function?
if I give sort ('createdon','DESC') its not working. please help. Thank you.
Hey there,
Sorry - snowed under at the moment. Will take a look ASAP
Hi while search , Based on VID i'm sorting but in result set in between some of the records are missing
my code is
$GLOBALS['obj_video_store'] ->search((new \Search\Query('VID <'.$_GET['lastRecordId']))->limit(10)->sort('VID'));
can you tell me what mistake i'm doing here, Please.