[Bast-commits] r4729 -
DBIx-Class-Preview/1.000/trunk/lib/DBIx/Class/ResultSource/Table
lukes at dev.catalyst.perl.org
lukes at dev.catalyst.perl.org
Wed Aug 6 12:35:44 BST 2008
Author: lukes
Date: 2008-08-06 12:35:44 +0100 (Wed, 06 Aug 2008)
New Revision: 4729
Modified:
DBIx-Class-Preview/1.000/trunk/lib/DBIx/Class/ResultSource/Table/Preview.pm
Log:
made delete query unambiguous
Modified: DBIx-Class-Preview/1.000/trunk/lib/DBIx/Class/ResultSource/Table/Preview.pm
===================================================================
--- DBIx-Class-Preview/1.000/trunk/lib/DBIx/Class/ResultSource/Table/Preview.pm 2008-08-04 12:28:23 UTC (rev 4728)
+++ DBIx-Class-Preview/1.000/trunk/lib/DBIx/Class/ResultSource/Table/Preview.pm 2008-08-06 11:35:44 UTC (rev 4729)
@@ -16,7 +16,7 @@
my $rs = $self->next::method(@_);
return ($self->schema->preview_active()) ?
- $rs->search({ deleted => 0 }) :
+ $rs->search({ 'me.deleted' => 0 }) :
$rs;
}
More information about the Bast-commits
mailing list