Files
cms-core/Documentation/Changelog/7.1/Deprecation-25112-andWhere.rst

64 lines
1.1 KiB
ReStructuredText

.. include:: /Includes.rst.txt
.. _deprecation-25112:
==============================================================
Deprecation: #25112 - Deprecate TypoScript property "andWhere"
==============================================================
See :issue:`25112`
Description
===========
The select-property `andWhere` has been marked as deprecated.
Impact
======
A deprecation message is logged for every usage of this property.
Affected installations
======================
All installations or extensions using the select-property `andWhere`.
Migration
=========
Use the properties `where` and `markers` instead.
.. code-block:: typoscript
page.30 = CONTENT
page.30 {
table = tt_content
select {
pidInList = this
orderBy = sorting
where {
dataWrap = sorting>{field:sorting}
}
}
}
page.60 = CONTENT
page.60 {
table = tt_content
select {
pidInList = 73
where = header != ###whatever###
orderBy = ###sortfield###
markers {
whatever.data = GP:first
sortfield.value = sor
sortfield.wrap = |ting
}
}
}
.. index:: TypoScript, Frontend