Fix the edit-list filter functionality

This commit is contained in:
Kevin MacMartin 2018-01-12 23:58:43 -05:00
parent 71d218f04c
commit f74c71446a
2 changed files with 2 additions and 2 deletions

View file

@ -235,7 +235,7 @@ function editListInit() {
$filter.val("");
const filterList = new List("edit-list-wrapper", {
valueNames: [ "title" ]
valueNames: [ "title-column" ]
});
}
};

View file

@ -18,7 +18,7 @@
<input id="filter-input" class="search" placeholder="Filter" />
@endif
<ul id="edit-list" class="list-group edit-list" data-model="{{ $model }}" data-path="{{ isset($path) ? $path : $model }}" {{ $sortcol != false ? "data-sort=$sortcol" : '' }}>
<ul id="edit-list" class="list-group edit-list list" data-model="{{ $model }}" data-path="{{ isset($path) ? $path : $model }}" {{ $sortcol != false ? "data-sort=$sortcol" : '' }}>
@foreach($rows as $row)
<li class="list-group-item" data-id="{{ $row['id'] }}">
<div class="container-fluid">