Ok this might not make much sense written out but here goes.
User has a setting to remove or keep certain pages from displaying in paginated results.
So what I am currently doing in the pagination is passing the pages they do not want to see again (marked as not interested)
as an array of id’s like 'NOT' => array('Market.id' => $remove) so this stops those pages from being grabbed. It works fine the way it is
but was wondering if it would be better to simply add a contain Market and then unset keys where the user has a Market.page_id => 1?
Any opinions, ideas?
Thanks,
Dave
No comments:
Post a Comment