JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
added e-mail to people database, made it so I can assign tasks to myself
[contractor-progress.git] / index.php
index 46a27e3..91c24ee 100644 (file)
--- a/index.php
+++ b/index.php
@@ -53,7 +53,7 @@ function _index_main() {
        if(logged_in_as_contractor()) {
                tem_show('needs_attention_header');
                task_summary('needs_approval', 'where state=%i order by id desc', TASK_WORKING);
-               task_summary('needs_fixing', 'where state=%i || state=%i order by id desc', TASK_NEEDS_QUOTE, TASK_BUG);
+               task_summary('needs_fixing', 'where (state=%i || state=%i) || (client_id=1 && state<%i) order by id desc', TASK_NEEDS_QUOTE, TASK_BUG, TASK_QUEUED);
                task_summary('finished_unpaid', 'where state=%i && paid = 0 order by id desc', TASK_FINISHED);
                task_summary('finished_paid', 'where state=%i && paid = 1 order by id desc', TASK_FINISHED);
                task_summary('queue', 'where state=%i order by client_id, ord', TASK_QUEUED);