Forum

Comment field in ta...
 
Notifications
Retirer tout

Comment field in table Activity

4 Posts
2 Utilisateurs
0 Reactions
4,168 Vu
Klaus
(@climb4fun)
Posts: 449
Contributor
Début du sujet
 
[#424]

Hi Babynus,

there is a comment field in table Activity, but never used (value is always NULL) -- it's even not in Activities template.
What's purpose? How is it implemented and where? If not used yet, it would be nice to have it in template for usage.

Klaus


 
Posté : 21 Mar PM 16:033
(@babynus)
Posts: 14952
Membre Admin
 

Comment field was used in very first versions of Project'Or RIA (much before V1.0).
This field has been removed from GUI when "notes" functionality was implemented, because usage was notvery different, but field has never been removed from table definition.

You can easily use it : add

public $comment; 

in the fields list in /model/Activity.php, just at the place you wosh to have it displayed.
That's all : it's magic !


 
Posté : 21 Mar PM 17:033
Klaus
(@climb4fun)
Posts: 449
Contributor
Début du sujet
 

Great - indeed, it's magic!
Shouldn't we move this to tips & tricks?
---
What happens on an version upgrade? Do I have to trace manually?


 
Posté : 22 Mar AM 08:033
Klaus
(@climb4fun)
Posts: 449
Contributor
Début du sujet
 

Btw. never would miss the great note feature. Comment will be only used for small task handover hints or backlog tasks reminder.


 
Posté : 22 Mar AM 09:033
Share:
Retour en haut