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

Commit

Permalink
TASK: Provide sys_language_uid
Browse files Browse the repository at this point in the history
Fetch sys_language_uid from database.

Relates: #25
  • Loading branch information
DanielSiepmann committed Mar 8, 2018
1 parent 0e69fbf commit ebc0b2b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 0 additions & 1 deletion Classes/Domain/Index/TcaIndexer/TcaTableService.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ protected function isSystemField(string $columnName) : bool
$this->tca['ctrl']['cruser_id'],
$this->tca['ctrl']['fe_cruser_id'],
$this->tca['ctrl']['fe_crgroup_id'],
$this->tca['ctrl']['languageField'],
$this->tca['ctrl']['origUid'],
];

Expand Down
1 change: 1 addition & 0 deletions Documentation/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Changelog
:maxdepth: 1
:glob:

changelog/20180409-25-provide-sys-language-uid
changelog/20180408-introduce-php70-type-hints
changelog/20180406-120-facet-configuration
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FEATURE 25 "Respect multiple languages" - Provide sys_language_uid
==================================================================

Previously we did not fetch ``sys_language_uid`` field from database. This prevents everyone from
working with multiple languages.
By not removing the field it gets indexed and provides a very basic way of implementing multiple
languages.
At least it's now possible to filter search results by current language for now. Still the records
are not "valid" as we do not add overlays for now.

This is a first step into full multi language support.

Martin Hummer already has a basic proof of concept, based on :ref:`concepts_dataprocessing` working,
depending on ``sys_language_uid``.

See :issue:`25`.

0 comments on commit ebc0b2b

Please sign in to comment.