Soma Posted May 28, 2012 Share Posted May 28, 2012 I tried for hours to get markup pager nav to work in the search page. After I logged out to see what happens, it worked. It seems only when I'm logged in as superuser, it doesn't works when logged in as an editor. All I do is $matches = $pages->find("title|body|sidebar%=$q, limit=3"); $count = count($matches); if($count) { $out .= $matches->renderPager(); ... Anybody can confirm this? I tried in 2 installations. EDIT:: Ok I tried again and on an install without language fields installed AND language page title set, it works. After installing and switching "title" field to language page title field AND set superuser language to an alternative like german, the pagination stops working with a search like the above. The limit isn't recognized anymore only when I would do: $pages->find("title|body|sidebar%=$q")->find("limit=3"); And then the limit works but the pagination doesn't work anyway. So in other example in short, for guest user it works when I set the guest to default language, but when set to an alternative it doesn't. What's happening? Link to comment Share on other sites More sharing options...
ryan Posted May 29, 2012 Share Posted May 29, 2012 Thanks Soma, I can duplicate this. I will hunt it down. Link to comment Share on other sites More sharing options...
ryan Posted May 29, 2012 Share Posted May 29, 2012 Okay I think this is fixed now. Please try the latest commit and let me know if this resolves the issue on your end too? Thanks, Ryan Link to comment Share on other sites More sharing options...
Soma Posted May 29, 2012 Author Share Posted May 29, 2012 Ryan you're my hero! Loaded, tested, works now. Happy. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now