Skip to content

UHF-12946: Elasticsearch timestamp field configurable per site + email hit templating#83

Merged
sundflux merged 25 commits intodevfrom
UHF-12946
Mar 4, 2026
Merged

UHF-12946: Elasticsearch timestamp field configurable per site + email hit templating#83
sundflux merged 25 commits intodevfrom
UHF-12946

Conversation

@sundflux
Copy link
Copy Markdown
Contributor

@sundflux sundflux commented Feb 27, 2026

Solves kymp testing huomiot:

  • populate queue script hardcoded field_publication_starts as the timestamp field for detecting new search results. KYMP's mobilenote_data index uses created_at instead, so KYMP subscriptions never found new hits.

  • email hit rendering was hardcoded for Drupal node structure (url + title as clickable links). KYMP hits have completely different fields (address, valid_from, valid_to) and no individual page URLs.

Tickets:

Testing (very in-complete instruction):

  1. configure kymp with siirtovahti
  2. make a subscription with email+sms
  3. emulate new hits in database
  4. query queue for email and sms contents to verify

@sundflux sundflux marked this pull request as draft February 27, 2026 06:55
@sundflux sundflux marked this pull request as ready for review March 2, 2026 06:46
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 4, 2026

@sundflux sundflux merged commit 284700f into dev Mar 4, 2026
3 checks passed
@sundflux sundflux deleted the UHF-12946 branch March 4, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants