You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs for $pages->findOne() say that the method filters for access control and published state in the same way as $pages->find() does. But for some reason it matches an unpublished page in the example below.
$pages->find() does not match the page, as expected.
Clean PW 3.0.110 installation, no hooks or modules (besides Tracy).
Setup/Environment
ProcessWire version: 3.0.110
The text was updated successfully, but these errors were encountered:
…didn't have exclusion/filter enabled if finding unpublished or hidden page that is editable & viewable to current user when the selector includes only reference to the page's id.
Short description of the issue
The docs for
$pages->findOne()
say that the method filters for access control and published state in the same way as$pages->find()
does. But for some reason it matches an unpublished page in the example below.$pages->find()
does not match the page, as expected.Clean PW 3.0.110 installation, no hooks or modules (besides Tracy).
Setup/Environment
The text was updated successfully, but these errors were encountered: