Project

General

Profile

Actions

Bug #16627

closed

task center (sys_action) in "record list" view shows "set fileds" by default

Added by Krystian Szymukowicz about 18 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-10-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I do not know if it is desired but task center (sys_action) in "record list" view shows "set fileds" by default.

I think "Task center" should be as simple as possible so by default "set fileds" should be hidden (as it is in normal "WEB->List ")

To hide "set fileds":

typo3\sysext\sys_action\class.tx_sysaction.php
line 211

THERE IS:
return htmlspecialchars($this->headLInk('tx_taskcenterrootlist', 1)). '<br />'. $this->urlInIframe($this->backPath."db_list.php?id=".intval($actionRow["t3_listPid"])."&table=".$actionRow["t3_tables"],1);

AND SHOULD BE:
return htmlspecialchars($this->headLInk('tx_taskcenterrootlist', 1)). '<br />'. $this->urlInIframe($this->backPath."db_list.php?id=".intval($actionRow["t3_listPid"]),1);

(issue imported from #M4346)

Actions #1

Updated by Krystian Szymukowicz about 18 years ago

Forget that ulgy path above.

It works but only if you have one table at page. If there is more tables then all tabels are displayed which can be more confusing to user than "set filelds".

So this bug is rather a feature request to hide "set filelds" per page basis. It can be achieved by new Web>List (mod.web_list) property. For example:
noSetFields

so if we set in PageTS
mod.web_list.noSetFields = 1

and then patch the db_list.php at line 381 with:

if (!$this->modTSconfig['properties']['noSetFields'])   {
if ($dblist->table) {
$this->content.=$dblist->fieldSelectBox($dblist->table);
}
}
Actions #2

Updated by Krystian Szymukowicz over 16 years ago

The solution is not to select table type in action definition (leave it empty)...

and btw in 4.3 "Web->List" is going to be rebuild so there is no need to take care of that.

Actions #3

Updated by Steffen Kamper over 16 years ago

Krystian wanted that to be closed

Actions

Also available in: Atom PDF