mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Order designs in ascending order
This commit is contained in:
parent
c1a1ff0b41
commit
ec95d087f1
@ -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…
Reference in New Issue
Block a user