
I am experiencing a problem with the admin search function...

When a search is submitted via 'technician name' the results will display correctly on the very first page, however, from the second results page onwards, the links will merely redirect to the base admin page, displaying only open jobs and not the jobs relevant to the technician.
Is this a known issue or an easy fix known ?
The relevant code from show_search_form.inc.php is shown below:
Code: Select all
<td valign="top" width="50%">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="height: 360px;">
<tr>
<td width="7" height="7"><img src="../img/roundcornerslt.jpg" width="7" height="7" alt="" /></td>
<td class="roundcornerstop"></td>
<td><img src="../img/roundcornersrt.jpg" width="7" height="7" alt="" /></td>
</tr>
<tr>
<td class="roundcornersleft"> </td>
<td valign="top">
<form action="find_tickets.php" method="get" name="findby" id="findby">
<h3 align="center"><?php echo $hesklang['find_ticket_by']; ?>:</h3>
<table border="0" cellpadding="3" cellspacing="0" width="100%">
<tr>
<td><label><input type="radio" name="what" value="trackid" <?php $value=''; if ($what == 'trackid') {$value = hesk_input($_GET['trackid']); echo 'checked="checked"';} ?> /> <b><?php echo $hesklang['trackID']; ?></b></label>: </td>
<td><input type="text" name="trackid" value="<?php echo $value; ?>" size="12" maxlength="10" onfocus="Javascript:document.findby.what[0].checked=true;" /></td>
</tr>
<tr>
<td><label><input type="radio" name="what" value="name" <?php $value=''; if ($what == 'name') {$value = hesk_input($_GET['name']); echo 'checked="checked"';} ?> /> <b><?php echo $hesklang['name']; ?></b></label>: </td>
<td><select name="name">
<option value=""></option>
<option value="Paul Abbott">Paul Abbott</option>
<option value="Anwar Bashir">Anwar Bashir</option>
<option value="Adam Burns">Adam Burns</option>
<option value="Wendy Forbes">Wendy Forbes</option>
<option value="Paul Haslock">Paul Haslock</option>
<option value="Matt Hunter">Matt Hunter</option>
<option value="Martin Quennell">Martin Quennell</option>
<option value="Jeff Shakeshaft">Jeff Shakeshaft</option>
<option value="Sarfraz Yaqub">Sarfraz Yaqub</option>
<option value="Neil Youngson">Neil Youngson</option>
</select></td>
</tr>