Changeset 737


Ignore:
Timestamp:
06/24/16 16:34:45 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Properly track the filter argument for the log separately from other
filter fields, so that (among other things) we can accept more characters
for filtering the log entries. See #17.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r736 r737  
    18301830  }
    18311831  my $logfilter = $session->param('logfilter');
     1832  $page->param(logfilter => $logfilter);
    18321833
    18331834  my $lcount = $dnsdb->getLogCount(id => $id, group => $logingroup, fname => $webvar{fname},
  • trunk/templates/log.tmpl

    r733 r737  
    2222        <input type="hidden" name="id" value="<TMPL_VAR NAME=id>" />
    2323        <input type="hidden" name="ltype" value="<TMPL_VAR NAME=ltype>" />
    24         <input name="filter"<TMPL_IF filter> value="<TMPL_VAR NAME=filter>"</TMPL_IF> />
     24        <input name="logfilter"<TMPL_IF logfilter> value="<TMPL_VAR NAME=logfilter ESCAPE=HTML>"</TMPL_IF> />
    2525        <input type="submit" value="Filter" />
    2626        </form>
Note: See TracChangeset for help on using the changeset viewer.