hx-push-url not correct while using the Entity View

Created on 2 November 2024, 12 days ago

Problem/Motivation

When using the Entity View functionality of this module, the hx-push-url (used in conjuction with hx-boost) is not correct.

Steps to reproduce

<div hx-boost="true" hx-push-url="true" hx-ext="debug" hx-get="/htmx/node/2/full" hx-target="article" hx-trigger="click" >
The html code above will generate a url something like this:
htmx/node/2/full?ajax_page_state%5Blibraries%5D=eJx9UFuOwjAMvFBozsBJkJuarIVjV7FT2D39BkpA4oMPW54Zv2HLWrWVZtiKxcw6A4eZ8mmlFeMIQmKo-pQP5r9MkkPS8xkxLrWtwNOOOimON2_Ab2Ewh152se8prsoz1J5UX60hOW34qN550VqA6Q9DJondTpASir_gDPbWSGhXBDbK4KQS7Eerp-ZjxMDhOT-OPT7whJZgxeNSSEL_Wh0N7vFE_RALG-HV4sNPRZfG-A9S9ouS

This is not desired. The URL should be the aliased (if there's an alias) URL or the system path like this /node/2

πŸ› Bug report
Status

Active

Version

1.3

Component

Drupal Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024