SiT! Bugs

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001405SiT!contractspublic2010-09-27 12:242010-10-17 04:18
Assigned To 
PlatformLinuxOSLinuxOS Version2.6+later
Product Version3.62 LTS 
Target VersionFixed in Version 
Summary0001405: Tags feature for Contracts

Most modules has tags except Contracts. So I would love to see a Tag option for Contracts module. I've added some code into view source code.
May I request this to be added in the next maintenance release of 3.6x?

Additional InformationChanges to the source code.
In view_tags.php, I added as follow:
case 9: // TAG_CONTRACT
$sql = "SELECT id FROM `{$dbMaintenance}` WHERE id = '{$obj->id}'";
$resultcontract = mysql_query($sql);
if (mysql_error()) trigger_error(mysql_error(),E_USER_WARNING);
if (mysql_num_rows($resultcontract) > 0)
$objcontract = mysql_fetch_object($resultcontract);
echo "<th>".icon('contract', 16)." {$strContract}</th>";
echo "<td><a href='contract_details.php?id={$obj->id}'>{$objcontract->id}</a></td>";
In contract_edit.php, I added as follow:
$tags = cleanvar($_POST['tags']);
// update maintenance if no errors
if ($errors == 0)
replace_tags(9, $maintid, $tags);
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0003437)
paulh (administrator)
2010-10-16 12:14

Agree this would be useful, as for adding it to 3.x I'm not sure as we're only releasing maintenance releases of significant bug fixes so we can develop new features in 4.x

Though as this is not a significant change we may squeeze it in, what do others think?
User avatar (0003438)
ivan (administrator)
2010-10-16 12:17

I think we need to stick to our plan of bugfixes only for 3.x. I know it's not always easy to decide these things but if we don't keep to it we risk delaying 4.x further.
nbl (reporter)
2010-10-17 04:18

Ok, may I see this feature in version 4.x?

- Issue History
Date Modified Username Field Change
2010-09-27 12:24 nbl New Issue
2010-10-16 12:14 paulh Note Added: 0003437
2010-10-16 12:14 paulh Status new => acknowledged
2010-10-16 12:17 ivan Note Added: 0003438
2010-10-17 04:18 nbl Note Added: 0003448

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker