Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@

$sTicketListAttCode = 'tickets_list';

if (MetaModel::IsValidAttCode(get_class($this), $sTicketListAttCode))
{
if (MetaModel::HasChildrenClasses('Ticket') && MetaModel::IsValidAttCode(get_class($this), $sTicketListAttCode)) {
// Display one list per leaf class (the only way to display the status as of now)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment still correct? There now is the operational_status available for all tickets..


$oAttDef = MetaModel::GetAttributeDef(get_class($this), $sTicketListAttCode);
Expand Down