Jump to:

22977 Posts in 11806 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » The Perfect "Search"

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 493 Views
  • TerryMiddleton
    Avatar
    Community Member
    108 Posts

    The Perfect "Search" Link to this post

    It seems that when doing a search the query looks for the searchtext using a 'Like' instead of an 'Equal'.

    How can I get the search query to do an 'Equal'?

    For example, if I search on radia then the results will be anything with the word raia in it.

    Instead I want to search on radia and only get radia not radiation, radiate or anything else where radia is part of the work.

    It seems that the query is (select * from table where field like 'radia*' instead of select * from table where field = 'radia';)

    How can this be accomplished?

    Terry

    493 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.