Commit dfeb6133 authored by Nikita Hovratov's avatar Nikita Hovratov Committed by Georg Ringer
Browse files

[BUGFIX] Provide table name in DeletedRecord partial

After refactoring of the recycler templates, the table name is no longer
present in the "records" variable. An additional argument for the table
is now provided for the partial.

Resolves: #95385
Related: #95227
Releases: master
Change-Id: I29e372550b45f6ea364e2a29afbb419eb6834c93
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71339


Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
parent 94696a93
<html xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers" data-namespace-typo3-fluid="true">
<tr data-uid="{record.uid}" data-table="{record.table}" data-recordtitle="{record.title}" data-parent-deleted="{record.isParentDeleted}">
<tr data-uid="{record.uid}" data-table="{table}" data-recordtitle="{record.title}" data-parent-deleted="{record.isParentDeleted}">
<td class="nowrap">
<span class="form-check form-toggle">
<input class="form-check-input t3js-multi-record-selection-check" type="checkbox">
......
......@@ -7,7 +7,7 @@
<f:for each="{table.records}" as="record">
<f:render
partial="RecordsTable/DeletedRecord"
arguments="{record: record, allowDelete: allowDelete }"
arguments="{record: record, allowDelete: allowDelete, table: table.information.table}"
/>
</f:for>
</f:for>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment