Page 1 of 1

How to change the default "search In" list order

Posted: Wed Apr 21, 2021 8:26 am
by wesselw17@gmail.com
Script URL:
Version of script: 3.2.2
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

is there any way of changing the default "search in" tag under "find a ticket". IE i would like to change "tracking ID" to a one of the custom tags "Claim Number" for instance.

Re: How to change the default "search In" list order

Posted: Wed Apr 21, 2021 3:59 pm
by Klemen
You'll have to change file inc/show_search_form.inc.php

Open it in Notepad++ then find this exact code:

Code: Select all

$what = 'trackid';
Change it to your custom field, for example:

Code: Select all

$what = 'custom1';
Change "1" to whatever your custom field ID is.

Re: How to change the default "search In" list order

Posted: Wed May 05, 2021 8:58 am
by wesselw17@gmail.com
Thank you for your help