projects
/
gruntmaster-data.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64bc7df
)
Skip private jobs in update_status without dying
author
Marius Gavrilescu
<marius@ieval.ro>
Wed, 4 Feb 2015 20:34:57 +0000
(22:34 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Wed, 4 Feb 2015 20:34:57 +0000
(22:34 +0200)
lib/Gruntmaster/Data.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Data.pm
b/lib/Gruntmaster/Data.pm
index 741061bfc99409a1c6b47d67aac59ec6be9140ed..447a9f4119adaf77b2e07a156ec43af084741f8f 100644
(file)
--- a/
lib/Gruntmaster/Data.pm
+++ b/
lib/Gruntmaster/Data.pm
@@
-174,7
+174,7
@@
sub job_entry {
sub update_status {
my ($self) = @_;
- my @jobs = $self->jobs->search({
private
=> 0}, {cache => 1, prefetch => 'problem'})->all;
+ my @jobs = $self->jobs->search({
'me.private'
=> 0}, {cache => 1, prefetch => 'problem'})->all;
my %hash;
for (@jobs) {
This page took
0.010918 seconds
and
4
git commands to generate.