mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
remove select2 limit
This commit is contained in:
parent
4c087be937
commit
88fa86466e
@ -85,7 +85,7 @@ class CategoryModel extends CatsCategoryEntryModel implements CategoryInterface
|
|||||||
->where('name', 'like', $keyword . '%')
|
->where('name', 'like', $keyword . '%')
|
||||||
->join('cats_category', 'cats_category_translations.entry_id', '=', 'cats_category.id')
|
->join('cats_category', 'cats_category_translations.entry_id', '=', 'cats_category.id')
|
||||||
->orderBy('cats_category_translations.id', 'DESC')
|
->orderBy('cats_category_translations.id', 'DESC')
|
||||||
->limit(4)->get();
|
->get();
|
||||||
|
|
||||||
foreach ($cats as $cat) {
|
foreach ($cats as $cat) {
|
||||||
$link = '';
|
$link = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user