basic list search works
This commit is contained in:
parent
ddbc8d77f5
commit
eb33e0da95
|
@ -117,6 +117,20 @@ $(function() {
|
|||
});
|
||||
});
|
||||
|
||||
$('#searchListIcon').click(function() {
|
||||
var term = $('.searchListField').val();
|
||||
doListLoading();
|
||||
$.getJSON("/m/get_list", {
|
||||
'tab_id': $('.innerSelected').attr("data-id"),
|
||||
// 'sort': sortString,
|
||||
'search': term
|
||||
}, function(data) {
|
||||
stopListLoading(data);
|
||||
displayList(data.items);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
$('#triangleUp').click(function() {
|
||||
goPreviousPage();
|
||||
});
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<div>
|
||||
{% for s in sessions %}
|
||||
<div class="session">
|
||||
<div class="sessionTitle">
|
||||
<div class="sessionTitle toggleNext">
|
||||
{{ s.title|title }}
|
||||
</div>
|
||||
<div class="sessionChild">
|
||||
|
|
Loading…
Reference in New Issue
Block a user