Fix admin login test and required changes for entity upgrade
This commit is contained in:
parent
6cd3113912
commit
18992784b2
4 changed files with 32 additions and 21 deletions
10
lib/Pear/LocalLoop/Schema/ResultSet/Entity.pm
Normal file
10
lib/Pear/LocalLoop/Schema/ResultSet/Entity.pm
Normal file
|
@ -0,0 +1,10 @@
|
|||
package Pear::LocalLoop::Schema::ResultSet::Entity;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use base 'DBIx::Class::ResultSet';
|
||||
|
||||
sub sales { shift->search_related('sales', @_) }
|
||||
|
||||
1;
|
Reference in a new issue