-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Short description of the issue
->next() and ->prev() isn't correctly returning the next and previous item when not logged in. You have to include "include=all" even though repeater items are published and visible on the front-end.
Expected behavior
"include=all" should only be required to include unpublished/hidden items.
Actual behavior
It's ignoring published items unless "include=all" is used
Optional: Screenshots/Links that demonstrate the issue
https://processwire.com/talk/topic/20087-bug-different-output-for-logged-in-logged-out-users/
Optional: Suggestion for a possible fix
Use "include=all" for now.
Steps to reproduce the issue
- Create a repeater
- Try get information about the next or previous repeater item
- Check result based on being logged in or out
(I've been having a few issues with repeaters and ProDrafts. It could be an issue with ProDrafts, it may see it as a "Draft" element? - Only if this is not reproducible. It's worth noting however, ProDrafts is turned off)
Setup/Environment
- ProcessWire version: 3.0.115
- (Optional) PHP version:
- (Optional) MySQL version:
- (Optional) Any 3rd party modules that are installed and could be related to the issue: