Order designs in ascending order
This commit is contained in:
parent
c1a1ff0b41
commit
ec95d087f1
3 changed files with 549 additions and 369 deletions
|
|
@ -136,6 +136,6 @@ class DesignFilters extends QueryFilters
|
|||
public function entityFilter()
|
||||
{
|
||||
//return $this->builder->whereCompanyId(auth()->user()->company()->id);
|
||||
return $this->builder->whereCompanyId(auth()->user()->company()->id)->orWhere('company_id', null);
|
||||
return $this->builder->where('company_id', auth()->user()->company()->id)->orWhere('company_id', null)->orderBy('id','asc');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
914
composer.lock
generated
914
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -37,7 +37,7 @@ class YodleeApiTest extends TestCase
|
|||
{
|
||||
parent::setUp();
|
||||
|
||||
if(!config('ninja.yodlee.client_id'))
|
||||
// if(!config('ninja.yodlee.client_id'))
|
||||
$this->markTestSkipped('Skip test no Yodlee API credentials found');
|
||||
|
||||
$this->makeTestData();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue