]> iEval git - gruntmaster-page.git/commitdiff
Allow filtering by result
authorMarius Gavrilescu <marius@ieval.ro>
Sun, 8 Mar 2015 07:57:24 +0000 (09:57 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sun, 8 Mar 2015 07:57:24 +0000 (09:57 +0200)
lib/Plack/App/Gruntmaster.pm

index bd8a90469fc79155ff223a18b1b7b8c7e7da2b20..490fb44e726794c1d6212283650cf5ae81b2b311 100644 (file)
@@ -147,7 +147,7 @@ sub dispatch_request{
 
                sub (/us/)                                        { response us => 'Users', {us => db->user_list} },
                sub (/ct/  + ?:owner~)                            { response ct => 'Contests', db->contest_list(%_) },
-               sub (/log/ + ?:contest~&:owner~&:page~&:problem~&:private~) {
+               sub (/log/ + ?:contest~&:owner~&:page~&:problem~&:private~&:result~) {
                        forbid $_{private};
                        response log => 'Job list', {%{db->job_list(%_)}, maybe contest => $_{contest},}
                },
This page took 0.025017 seconds and 4 git commands to generate.