http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692013-02-18T17:10:58ZTYPO3 ForgeTYPO3 Core - Feature #45577: Possibility to sort records in TCEforms by label_userFunc labelshttp://forge.typo3.org/issues/45577?journal_id=1516802013-02-18T17:10:58ZGeorg Ringer
<ul></ul><p>but how should this work? sorting works via mysql but with user defined labels it is impossible to know the title without rendering every one of them....</p> TYPO3 Core - Feature #45577: Possibility to sort records in TCEforms by label_userFunc labelshttp://forge.typo3.org/issues/45577?journal_id=1516812013-02-18T17:12:53ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>I guess we need manual post-processing in TCEforms</p> TYPO3 Core - Feature #45577: Possibility to sort records in TCEforms by label_userFunc labelshttp://forge.typo3.org/issues/45577?journal_id=2047532014-02-20T22:18:11ZThomas Mammitzschthomas@visualworx.de
<ul></ul><p>no progress on this one? Would be interested too!</p> TYPO3 Core - Feature #45577: Possibility to sort records in TCEforms by label_userFunc labelshttp://forge.typo3.org/issues/45577?journal_id=2469102015-01-26T15:20:03ZMathias Schreibermathias.schreiber@typo3.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li><li><strong>Assignee</strong> set to <i>Mathias Schreiber</i></li></ul><p>We need a solid concept for this.<br />Like Georg said, sorting takes place on a very very low level of the DB without any PHP logic involved.<br />Pulling PHP in between sounds like the most under-performing thing I could possibly imagine.</p>
<p>So in case there is a solid concept, I'm willing to dig into this.<br />Otherwise I'd just close this one down.</p> TYPO3 Core - Feature #45577: Possibility to sort records in TCEforms by label_userFunc labelshttp://forge.typo3.org/issues/45577?journal_id=2469512015-01-26T17:44:54Zmost wantedmostwantedtypo3@gmail.com
<ul></ul><p>i still think this would be a useful feature. infact i think you could even call the current behaviour a bug: when an editor tries to sort by such a label it does not necessarily sort as expected by the editor.</p>
<p>i can understand the need for a solid concept. i myself could not find a clean solution back then, but i am not that much into the TYPO3 core.</p>
<p>my rough ideas involved additional database table fields (integer) solely used for sorting in the TYPO3 backend. those fields would be updated when necessary (asynchonously but as promptly as possible) in the background.</p> TYPO3 Core - Feature #45577: Possibility to sort records in TCEforms by label_userFunc labelshttp://forge.typo3.org/issues/45577?journal_id=2621142015-06-16T10:15:30ZAlexander Opitzopitz.alexander@googlemail.com
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>New</i></li><li><strong>Target version</strong> deleted (<del><i>6.1.0</i></del>)</li></ul> TYPO3 Core - Feature #45577: Possibility to sort records in TCEforms by label_userFunc labelshttp://forge.typo3.org/issues/45577?journal_id=2707642015-08-07T10:49:24ZSusanne Moogsusanne.moog@typo3.org
<ul><li><strong>Sprint Focus</strong> set to <i>PRC</i></li></ul> TYPO3 Core - Feature #45577: Possibility to sort records in TCEforms by label_userFunc labelshttp://forge.typo3.org/issues/45577?journal_id=3889252018-10-18T00:41:30ZLoon Buster
<ul><li><strong>Priority</strong> changed from <i>Should have</i> to <i>Must have</i></li></ul><p>hello.</p>
<p>..workaround:</p>
<p>1) add a column 'label' to your table.</p>
<p>2) <br /><pre>
// .. Configuration/TCA/tx_table_xyz.php
'label_userFunc' => \MyVendor\MyExtension\Userfuncs\Tca::class . '->mylabel',
'default_sortby' => 'label',
</pre></p>
<p>3)<br /><pre>
// .. Classes/Userfuncs/Tca.php > mylable
$parameters['title']=$newtitleXYZ;
if($_GET['edit'] & $parameters['row']){
$GLOBALS['TYPO3_DB']->exec_UPDATEquery('tx_table_xyz','(uid='.$parameters['row']['uid'].')',['label' => $parameters['title']]);
}
</pre></p>
<p>.loon</p> TYPO3 Core - Feature #45577: Possibility to sort records in TCEforms by label_userFunc labelshttp://forge.typo3.org/issues/45577?journal_id=4203082020-03-24T17:52:32ZBenni Mackbenni@typo3.org
<ul><li><strong>Sprint Focus</strong> changed from <i>PRC</i> to <i>Needs Decision</i></li></ul>