Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Fix "itemsLimitPerTable" / "itemsLimitSingleTable" ranges and clarify…
Browse files Browse the repository at this point in the history
  • Loading branch information
2 people authored and linawolf committed Nov 18, 2024
1 parent 2fe20dc commit 4419cfa
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions Documentation/PageTsconfig/Mod/WebList.rst
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,19 @@ itemsLimitPerTable
positive integer

:aspect:`Description`
Set the default maximum number of items to show per table.
The number must be between `5` and `10000`. If below or above this range,
the nearest valid number will be used.
Set the default maximum number of items to show per table.
The number must be between `0` and `10000`. If below or above this range,
the nearest valid number will be used.

If a value is defined in the `$TCA[<table>]['interface']['maxDBListItems']`
of the table, it will override this TSconfig option.
For example, the `maxDBListItems` for the `pages` table is `30` by default.

:aspect:`Default`
20

.. _pageTsConfigWebList-itemsLimitPerTable-example:

:aspect:`Example`
.. code-block:: typoscript
:caption: EXT:site_package/Configuration/page.tsconfig
Expand All @@ -317,13 +323,19 @@ itemsLimitSingleTable
positive integer

:aspect:`Description`
Set the default maximum number of items to show in single table view.
The number must be between `5` and `10000`. If below or above this range,
the nearest valid number will be used.
Set the default maximum number of items to show in single table view.
The number must be between `0` and `10000`. If below or above this range,
the nearest valid number will be used.

If a value is defined in the `$TCA[<table>]['interface']['maxSingleDBListItems']`
of the table, it will override this TSconfig option.
For example, the `maxSingleDBListItems` for the `pages` table is `50` by default.

:aspect:`Default`
100

.. _pageTsConfigWebList-itemsLimitSingleTable-example:

:aspect:`Example`
.. code-block:: typoscript
:caption: EXT:site_package/Configuration/page.tsconfig
Expand Down

0 comments on commit 4419cfa

Please sign in to comment.