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

324 user(s) are online (263 user(s) are browsing Support Forums)


Members: 0


Guests: 324


more...

Donat-O-Meter

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

Latest GitHub Commits