Results 1 to 9 of 9

Thread: Vantage 1.2 - Improve search results when searching by "Search For"

  1. #1
    Thread Starter
    Veteran joes's Avatar
    Join Date
    Nov 2012
    Location
    Australia
    Posts
    875
    Thanks
    12
    Thanked 358 Times in 261 Posts

    Vantage 1.2 - Improve search results when searching by "Search For"

    The way the search works in Vantage 1.2 when you use the "Search For" field with multiple entries like "mexican food" is:

    a) the word "mexican" must appear somewhere in the listing within the "title", "content", "category" or "tags"

    b) the word "food" must appear somewhere in the listing within the "title", "content", "category" or "tags"

    c) both the 2 words "mexican" AND "food" must appear somewhere within the listing.


    The conditional "AND" limits the ability to find matching listings unless the 2 words entered in the search appear in the listing.

    Would it not be better to find listings that have either of the 2 words entered in the search - that is an "OR" to be used.

    See this discussion: http://forums.appthemes.com/vantage-...results-54048/


    To utilize the "OR" in searching for listings, you can make a simple 1 line code change as follows:

    In the "\vantage\includes\views.php" find the following line:

    PHP Code:
    $searchand ' AND '
    and change it to:

    PHP Code:
    $searchand ' OR '

    NOTE: I hope Vantage developers think this is a worthy change to improve search results.

  2. The Following User Says Thank You to joes For This Useful Post:

    bvpraveen (November 10th, 2013)

  3. #2
    danielh's Avatar
    Join Date
    Aug 2012
    Location
    United States
    Posts
    19
    Thanks
    3
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #3
    Expired Customer bvpraveen's Avatar
    Join Date
    Oct 2013
    Location
    Bangalore, India
    Posts
    119
    Thanks
    26
    Thanked 7 Times in 7 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #4
    Thread Starter
    Veteran joes's Avatar
    Join Date
    Nov 2012
    Location
    Australia
    Posts
    875
    Thanks
    12
    Thanked 358 Times in 261 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. The Following User Says Thank You to joes For This Useful Post:

    bvpraveen (November 10th, 2013)

  7. #5
    Expired Customer bvpraveen's Avatar
    Join Date
    Oct 2013
    Location
    Bangalore, India
    Posts
    119
    Thanks
    26
    Thanked 7 Times in 7 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #6
    Thread Starter
    Veteran joes's Avatar
    Join Date
    Nov 2012
    Location
    Australia
    Posts
    875
    Thanks
    12
    Thanked 358 Times in 261 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #7
    Expired Customer bvpraveen's Avatar
    Join Date
    Oct 2013
    Location
    Bangalore, India
    Posts
    119
    Thanks
    26
    Thanked 7 Times in 7 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #8
    red20me's Avatar
    Join Date
    Jul 2013
    Location
    United Kingdom
    Posts
    473
    Thanks
    1
    Thanked 104 Times in 93 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  11. The Following User Says Thank You to red20me For This Useful Post:

    bvpraveen (December 7th, 2013)

  12. #9
    Thread Starter
    Veteran joes's Avatar
    Join Date
    Nov 2012
    Location
    Australia
    Posts
    875
    Thanks
    12
    Thanked 358 Times in 261 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: June 22nd, 2012, 11:57 AM
  2. Replies: 1
    Last Post: June 22nd, 2012, 11:57 AM
  3. how do you edit the "Search for" and "Near" search boxes in Vantage header
    By themacdubs in forum Report Vantage Bugs (Legacy)
    Replies: 2
    Last Post: May 22nd, 2012, 01:19 PM
  4. Search Results - replace "posted by" with "Job Category"
    By fundfetch in forum JobRoller General Discussion
    Replies: 2
    Last Post: January 4th, 2012, 07:14 AM
  5. Search Results - replace "posted by" with "Job Category"
    By fundfetch in forum Report JobRoller Bugs
    Replies: 1
    Last Post: January 4th, 2012, 02:34 AM