/[Frey]/trunk/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

Annotation of /trunk/lib/Reblog/ResultSet/Items.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1031 - (hide annotations)
Sat Jan 31 17:09:27 2009 UTC (15 years, 3 months ago) by dpavlin
File size: 267 byte(s)
added Reblog::ResultSet::Items which I forgot to commit
1 dpavlin 1031 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