mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 02:38:55 +00:00
Remove relationship loading from Groups class getRange function
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2017-10-27 DariusIII
|
||||
* Chg: Remove relationship loading from Groups class getRange function
|
||||
* Fix: Fix releases count on admin group-list page
|
||||
* Chg: Update Groups class getRange function
|
||||
2017-10-26 DariusIII
|
||||
|
||||
+1
-1
@@ -209,7 +209,7 @@ class Groups
|
||||
*/
|
||||
public function getRange($start = false, $num = -1, $groupname = '', $active = -1)
|
||||
{
|
||||
$groups = Group::query()->with('release.id')->groupBy(['id'])->orderBy('name');
|
||||
$groups = Group::query()->groupBy(['id'])->orderBy('name');
|
||||
|
||||
if ($groupname !== '') {
|
||||
$groups->where('name', 'LIKE', $groupname);
|
||||
|
||||
Reference in New Issue
Block a user