diff options
Diffstat (limited to 'lib/serve.js')
-rw-r--r-- | lib/serve.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js index 07cbbbb..eab40c9 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -490,7 +490,7 @@ Serve.prototype.advsearch = function (ext) { if (q.source) q.source = u.extractFeedIds(q.source)[0] if (q.dest) q.dest = u.extractFeedIds(q.dest)[0] - var hasQuery = q.text || q.source || q.dest + var hasQuery = q.text || q.source || q.dest || q.channel pull( cat([ @@ -516,6 +516,13 @@ Serve.prototype.advsearch = function (ext) { value: q.dest || ''})) ]), ph('tr', [ + ph('td', 'channel'), + ph('td', ['#', ph('input', {name: 'channel', placeholder: 'channel', + class: 'id-input', + value: q.channel || ''}) + ]) + ]), + ph('tr', [ ph('td', {colspan: 2}, [ ph('input', {type: 'submit', value: 'search'}) ]) |