Jump to content

Search the Community

Showing results for tags 'negative selector'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello all, I read carefully through https://processwire.com/api/selectors/ but can't seem to get negative selector to work on a 2.4.11 install. My setup: -places with tags. -"tags" field is a multi page select field. When I do $pages->get("/places")->children("tags*=food") I get all children with tag "food". But when I do $pages->get("/places")->children("!tags*=food") I get all children. But it should only return all children that do not have the tag "food". The selector api states about negative selectors So what am I doing wrong here? Might it be related to my tags field being a multi page select field? What I'm ultimately trying to achieve is $pages->get("/places")->children("tags*=food, !tags*=accomodation") Cheers Gerhard
×
×
  • Create New...