Jump to content

Recommended Posts

Posted

The admin page list seems to be hiding the content of page labels inside square brackets.

For a page titled Some Title [old], it will display as Some Title, removing the content inside the brackets.

Oddly enough, a page titled Some Title [old content] displays correctly as Some Title [old content].

My guess is that ProcessWire is trying to interpret the part in square brackets as dot-field notation and trying to access a field value. Since there's no field named 'old', it will drop the brackets and everything inside entirely. Is this documented behavior? Can this be turned off?

(Tested on latest dev branch, 3.0.171 and 3.0.181)

Posted

I can't reproduce that here in v3.0.181

2021-07-19_155615.png.369c3435a5a597ffbf1b7a2709a0a555.png

My guess would be it relates to custom hooks or some third-party module but if you can reproduce it on a clean PW installation then it would be good to create a GitHub issue for it.

  • Like 1
  • d'Hinnisdaël changed the title to PageList swallows page labels within square brackets [solved]
  • 1 year later...
Posted

I just ran into this issue - changing from brackets to parenthesis solved the issue, but I am curious which module was trying to do the substitution/replacement and returning nothing?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...