Added forwardQuery property in short URLs, that determines if the query should be forwarded to the long URL

This commit is contained in:
Alejandro Celaya
2021-10-02 09:32:04 +02:00
parent 60c8f23a63
commit 1ed6458b39
4 changed files with 39 additions and 1 deletions

View File

@@ -100,4 +100,9 @@ return static function (ClassMetadata $metadata, array $emConfig): void {
->columnName('crawlable')
->option('default', false)
->build();
$builder->createField('forwardQuery', Types::BOOLEAN)
->columnName('forward_query')
->option('default', true)
->build();
};