Hi,
I recently upgraded from NuMods to Mods for HESK.
Back in NuMods I could use the Find a Ticket function to search for all tickets on a particular date by simply not entering a keyword into the Search For field.
But ever since I upgraded to Mods for HESK it seems that the Search For field now forces you to type in a keyword before you can search.
Is there any way I disable this requirement? I'd like to be able to search purely by date rather than a keyword.
Find a Ticket - NuMods to Mods for HESK
Moderator: mkoch227
Re: Find a Ticket - NuMods to Mods for HESK
That field shouldn't be required, whoops
.
Open inc/show_search_form.inc.php and find:
(lines 412-417)
replace with:
Save, upload, and test.

Open inc/show_search_form.inc.php and find:
(lines 412-417)
Code: Select all
<input class="form-control" type="text" name="q" size="30" <?php if (isset($q)) {
echo 'value="' . $q . '"';
} ?>
data-error="<?php echo htmlspecialchars($hesklang['this_field_is_required']); ?>"
required>
<div class="help-block with-errors"></div>
Code: Select all
<input class="form-control" type="text" name="q" size="30" <?php if (isset($q)) {
echo 'value="' . $q . '"';
} ?>>
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: Find a Ticket - NuMods to Mods for HESK
Ah, I can't believe I missed that.
Upon making the changes it's now working as before.
You're the man!
Thanks!
Upon making the changes it's now working as before.
You're the man!
Thanks!