ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Search result - starts with

June 15, 2011 8:06am

Subscribe [2]
  • #1 / Jun 15, 2011 8:06am

    Sjoerd

    233 posts

    I want to search in a zipcode field. For instance: search on ‘1’

    Normally it returns a result like this:
    1234
    but also: 2314, because it contains 1.

    But how to show ONLY results that STARTS with? I already asked Solspace if SuperSearch could do this, but nada unfortunately.

  • #2 / Jun 16, 2011 6:17am

    John Henry Donovan

    12339 posts

    Sjoerd,

    The Search Module that comes with EE is not capable of this. You are welcome to make a feature request on this. Try the Search Results add-on.

    If you look at it from the point of view of how the results are display as opposed to limiting what it searches for.

  • #3 / Jun 16, 2011 6:32am

    Sjoerd

    233 posts

    OK thanks, I made a feature request. Don’t know if the Search Results add-on can do this, I will ask them.

  • #4 / Jun 16, 2011 8:25am

    John Henry Donovan

    12339 posts

    No problems. Closing this for now. Feel free to start a new thread if you have any more questions

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases