Announcement

Collapse
No announcement yet.

Question: textFilterUseContainsForVarchar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Question: textFilterUseContainsForVarchar

    Hi

    With regards to the link below, am I correct that if I add the property `textFilterUseContainsForVarchar` and set it to true within my `config.php` that when searching it will not only match the starting portion, but if the query is in the middle or end as well?

  • #2
    It appears that that is exactly what happens, only problem is I have no idea where to set textFilterUseContainsForVarchar, because after a rebuild it is removed from config.php

    Comment


    • #3
      Hi,
      without this property a searching works as "Starts with",
      with this property - in mode "Contains"

      data/config.php
      Save, refresh the page, after rebuild. It hasn't be removed after rebuild. What version do you use?

      Comment


      • #4
        I'm using version 5.0.5

        Comment


        • tanya
          tanya commented
          Editing a comment
          Just tested on this version... Isn't removed

      • #5
        Is this correct (See photo below)? It's within my data/config.php file

        Comment


        • #6
          Looks correct. Maybe the problem is with cache.
          In the next version this property could be set in Administration

          Comment


          • #7
            I think you might be correct with regards to the cache, I just kept adding it to the file and rebuilding, and now it's not being removed anymore. Thank for the assist!

            Comment

            Working...
            X