We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24714
    • 19 Posts
    I made several filtering fields on the page which get some values from db.

    For example - I have 5 fields... when i change 1 the others 4 are filtered and show less results for filtering.
    How can I do this with xPDO model whith 1 query not 4 for only filter + 1 for content?
      • 4172
      • 5,888 Posts
      ?? what kind of fields? can you tell a bit more of your scenario?
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 24714
        • 19 Posts
        well i got category,vendor,name,attribute,subattribute (for example untensils,phillips,vacuum-cleaner,bag,wooden-bag)

        so on the page i got several filters, if i put philips as a vendor, all other filtering fields show info only connected with phillips...

        but the main problem is that attr and subattr in the 1 table and the others in the 2nd
          • 4172
          • 5,888 Posts
          I’m still not sure, are you talking about resources and TVs or about custom-tables?
          Can you show some example records of your table(s) and perhaps an example-result of your query, for what you are after?
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!