When viewing the site using index aliases generated by pathauto, the results do not paginate according to the content configuration settings.
What does happen, as far as I can tell, is this:
- The initial page shows everything in that alias. At the bottom of the page we see the pagination settings.
- Page 2 shows everything except the last post of that path alias. At the bottom, we see we're on page 2, again with a normal-appearing pagination display.
- Page 3 shows everything except the last two posts. And so on.
It would be wonderful if these aliases could limit the visibility of the nodes on index alias pages according to the content display settings.
Thanks.
Comments
Comment #1
mikeryanSorry, I can't reproduce this. Can you do a few things for me?
1. Make sure you're running the latest 4.6 pathauto (if you've downloaded it since July 25, you're up-to-date).
2. Delete the index aliases from the url_aliases table (DELETE FROM url_alias WHERE src LIKE 'pathauto%')
3. Go to the pathauto settings and do a "bulk generate index aliases"
4. Try again and see what happens.
5. Let me know what path pattern the index aliases are generated from, and what the URL of the broken pages looks like (should include something like "?from=10")
Thanks!
Comment #2
laura s commentedWith the latest pathauto.module and associated files (which I reloaded just to be sure), I deleted all aliases and twice tried to regenerate aliases -- the first time all at once, the second time first by bulk generating the node aliases, and then the index aliases.
Same problem.
You can see it in action here. ("Images" and "Words" in the primary navigation call index aliases.) The default node count per page = 1, but the index alias overrides (or skips) that setting. (Changing that setting does not seem to affect this behavior, except in the starting point of the subsequent pages.)
Default index alias shows nodes 3, 2, 1 (should show only node 3).
Page 2 ("?from=1") shows nodes 2, 1 (should show only node 2).
Page 3 ("?from=2") shows node 1.
Comment #3
mikeryanOK, I found it (misplaced parentheses). It's fixed and checked in...
Thanks.
Comment #4
laura s commentedFabulous! Thank you for the prompt and persistent response!
Comment #5
(not verified) commentedComment #6
(not verified) commentedComment #7
(not verified) commentedComment #8
mikeryan