mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-26 00:51:26 -05:00
Fix the edit-list filter functionality
This commit is contained in:
parent
71d218f04c
commit
f74c71446a
2 changed files with 2 additions and 2 deletions
2
resources/assets/js/dashboard.js
vendored
2
resources/assets/js/dashboard.js
vendored
|
@ -235,7 +235,7 @@ function editListInit() {
|
||||||
$filter.val("");
|
$filter.val("");
|
||||||
|
|
||||||
const filterList = new List("edit-list-wrapper", {
|
const filterList = new List("edit-list-wrapper", {
|
||||||
valueNames: [ "title" ]
|
valueNames: [ "title-column" ]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<input id="filter-input" class="search" placeholder="Filter" />
|
<input id="filter-input" class="search" placeholder="Filter" />
|
||||||
@endif
|
@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)
|
@foreach($rows as $row)
|
||||||
<li class="list-group-item" data-id="{{ $row['id'] }}">
|
<li class="list-group-item" data-id="{{ $row['id'] }}">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
|
Loading…
Reference in a new issue