1
selwyn
Need change in searchmodule
  • 2008/7/28 15:32

  • selwyn

  • Just popping in

  • Posts: 63

  • Since: 2004/1/18


Hi, i want to change the order of my searchfunction.

I have changed in searchform.php

(array("AND"=>_SR_ALL, "OR"=>_SR_ANY, "exact"=>_SR_EXACT));

to

(array("EXACT"=>_SR_EXACT, "OR"=>_SR_ANY, "AND"=>_SR_ALL));

Also i changed in search.php

if ( $andor != "OR" && $andor != "exact" && $andor != "AND" ) {
$andor = "AND";


in

if ( $andor != "OR" && $andor != "exact" && $andor != "AND" ) {
$andor = "exact";


But the system keeps using the AND function. How can i change this so that the general setting is 'exact'?

Login

Who's Online

143 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits