i do have 2 queries
i have passeed a flag to indiacte if its filter or navigation
after addition oof where clause i get the records displayed proplerly for first time ie page 1
as the falg is filter but when i navigate it truen to navigation falg and takes the other query