From cf1b5a76855b3f41575330c350a42ab12f8e9432 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 11 Jan 2018 15:13:32 -0800 Subject: [PATCH] Added- sort by count in manufacturer listing --- app/Presenters/ManufacturerPresenter.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Presenters/ManufacturerPresenter.php b/app/Presenters/ManufacturerPresenter.php index e07e9cff9c..ecd9d2e250 100644 --- a/app/Presenters/ManufacturerPresenter.php +++ b/app/Presenters/ManufacturerPresenter.php @@ -85,7 +85,7 @@ class ManufacturerPresenter extends Presenter [ "field" => "assets_count", "searchable" => false, - "sortable" => false, + "sortable" => true, "switchable" => true, "title" => ' ' .'', @@ -94,7 +94,7 @@ class ManufacturerPresenter extends Presenter [ "field" => "licenses_count", "searchable" => false, - "sortable" => false, + "sortable" => true, "switchable" => true, "title" => ' ' .'', @@ -103,7 +103,7 @@ class ManufacturerPresenter extends Presenter [ "field" => "consumables_count", "searchable" => false, - "sortable" => false, + "sortable" => true, "switchable" => true, "title" => ' ' .'', @@ -112,7 +112,7 @@ class ManufacturerPresenter extends Presenter [ "field" => "accessories_count", "searchable" => false, - "sortable" => false, + "sortable" => true, "switchable" => true, "title" => ' ' .'',