Merge pull request #92 from openclassify/vedat

remove select2 limit
This commit is contained in:
Ozcan Durak 2019-09-23 10:58:58 +03:00 committed by GitHub
commit 2adeb67123
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ class CategoryModel extends CatsCategoryEntryModel implements CategoryInterface
->where('name', 'like', $keyword . '%')
->join('cats_category', 'cats_category_translations.entry_id', '=', 'cats_category.id')
->orderBy('cats_category_translations.id', 'DESC')
->limit(4)->get();
->get();
foreach ($cats as $cat) {
$link = '';