---
title: "Deprecation: #25112 - Deprecate TypoScript property \"andWhere\""
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-25112"
source: "Changelog/7.1/Deprecation-25112-andWhere.rst"
typo3-version: "7.1"
typo3-major: 7
type: "deprecation"
issue: 25112
forge: "https://forge.typo3.org/issues/25112"
tags: ["TypoScript", "Frontend"]
rendered: "2026-09-19T12:12:50+00:00"
---

# Deprecation: #25112 - Deprecate TypoScript property "andWhere" {#deprecation-25112}

See [forge#25112](https://forge.typo3.org/issues/25112)

## Description {#description}

The select-property `andWhere` has been marked as deprecated.

## Impact {#impact}

A deprecation message is logged for every usage of this property.

## Affected installations {#affected-installations}

All installations or extensions using the select-property `andWhere`.

## Migration {#migration}

Use the properties `where` and `markers` instead.

```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
		}
	}
}
```
