Back to the index page  
LiveChat! (0 online)   FAQ   Search   Memberlist   Usergroups   Register   Profile   Log in to check your private messages   Log in 
user specific priority not displayed

 
Post new topic   Reply to topic    web2Project Forum Index » General Usage and Help View previous topic :: View next topic  
user specific priority not displayed
 PostPosted: Sat Mar 20, 2010 11:42 am Reply with quote  
Message
  opto
Evangelist Member

Joined: 30 Jan 2010
Posts: 191
Location: Germany
in tasks -> tasks per user, I can set a user specific task priority.

I assume that this should be displayed in the P column, because the task priority (it's symbol) is shown as part of the task name if other than normal.

But updating the user specific priority does not show in the P column.
Neither in my local copy (of end feb. 2010) nor in the demo.
I modified my todo screen of tasks to show this field in an extra column - which confirms the writing to the db works, it is just displaying in tasks per user that is broken.


Klaus

_________________
w2p on Vista, XAMPP 1.7.1, MYSQL 5.1.?, PHP 5.2.?
View user's profile Send private message
 PostPosted: Sat Mar 20, 2010 8:54 pm Reply with quote  
Message
  opto
Evangelist Member

Joined: 30 Jan 2010
Posts: 191
Location: Germany
solution: replace $prio by $priority in return:

Code:
public function getUserSpecificTaskPriority($user_id = 0, $task_id = null) {
      $q = new DBQuery;
      // use task_id of given object if the optional parameter task_id is empty
      $task_id = empty($task_id) ? $this->task_id : $task_id;

      $q->addTable('user_tasks');
      $q->addQuery('user_task_priority');
      $q->addWhere('user_id = ' . (int)$user_id . ' AND task_id = ' . (int)$task_id);
      $priority = $q->loadHash();
      $q->clear();
      return $priority ? $priority['user_task_priority'] : null;

_________________
w2p on Vista, XAMPP 1.7.1, MYSQL 5.1.?, PHP 5.2.?
View user's profile Send private message
 PostPosted: Sun Mar 21, 2010 8:43 pm Reply with quote  
Message
  caseydk
Administrator

Joined: 07 Nov 2007
Posts: 1334
Location: Austin, TX
I've updated this locally, will commit to svn later today.
_________________
D. Keith Casey, Jr.
Blog: http://CaseySoftware.com/blog
Company: http://BlueParabola.com/

Core web2project contributor
Maintainer: Microsoft Project Importer and TodoList Module
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Post new topic   Reply to topic    web2Project Forum Index » General Usage and Help

Page 1 of 1
All times are GMT

Display posts from previous:

  

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2002 phpBB Group
Macinscott 2 by Scott Stubblefield

Get web2Project at SourceForge.net. Fast, secure and Free Open Source software downloads