/[Frey]/branches/zimbardo/lib/Reblog/ResultSet/Items.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /branches/zimbardo/lib/Reblog/ResultSet/Items.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1172 - (show annotations)
Sun Jul 5 21:40:16 2009 UTC (15 years ago) by dpavlin
File size: 267 byte(s)
branch for localisation

1 package Reblog::ResultSet::Items;
2
3 use strict;
4 use warnings;
5
6 use base qw(DBIx::Class::ResultSet);
7
8 sub published {
9 shift->search({
10 'userdata.label' => 'published',
11 'userdata.value_numeric' => 1,
12 }, {
13 join => [ 'userdata' ],
14 })
15 ;
16 }
17
18 warn "# publised";
19
20 1;
21

  ViewVC Help
Powered by ViewVC 1.1.26