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

mikeryan’s picture

Assigned: Unassigned » mikeryan

Sorry, 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!

laura s’s picture

With 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.

mikeryan’s picture

Status: Active » Fixed

OK, I found it (misplaced parentheses). It's fixed and checked in...

Thanks.

laura s’s picture

Fabulous! Thank you for the prompt and persistent response!

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

mikeryan’s picture

Version: » 4.6.x-1.x-dev
Status: Fixed » Closed (fixed)