Skip to content

refactor!: use comma-separated values for metainfo restrictions/templates#6486

Merged
gharlan merged 2 commits into6.xfrom
metainfo-comma-separated-restrictions
Apr 12, 2026
Merged

refactor!: use comma-separated values for metainfo restrictions/templates#6486
gharlan merged 2 commits into6.xfrom
metainfo-comma-separated-restrictions

Conversation

@gharlan
Copy link
Copy Markdown
Member

@gharlan gharlan commented Apr 12, 2026

Summary

Restrictions/Templates-Spalten in rex_metainfo_field verwenden statt Pipe-getrenntem Format (|1|2|3|) nun kommagetrennte Werte (1,2,3).

  • RestrictionField: Separator auf , gesetzt, setValue() überschrieben (ohne führende/abschließende Trennzeichen)
  • LIKE "%|value|%"-Queries in allen Handlern durch FIND_IN_SET ersetzt

🤖 Generated with Claude Code

…ates

Switch from pipe-delimited format (|1|2|3|) to comma-separated (1,2,3)
for the restrictions and templates columns in metainfo_field table.

- RestrictionField: use comma separator, override setValue to join
  without leading/trailing delimiter
- Replace LIKE "%|value|%" queries with FIND_IN_SET in all handlers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gharlan gharlan added this to the REDAXO 6.0 milestone Apr 12, 2026
@gharlan gharlan enabled auto-merge (squash) April 12, 2026 22:51
@gharlan gharlan merged commit efdf308 into 6.x Apr 12, 2026
16 checks passed
@gharlan gharlan deleted the metainfo-comma-separated-restrictions branch April 12, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants