Smart Search Pagination Issue - Question | JoomShaper

Smart Search Pagination Issue

H

HLSystem

Helix Framework 3 days ago

Joomla 6 + Helix Ultimate

Smart Search pagination issue: On page 2+, the "q" parameter disappears when using SEF URLs.

Example: Page 1: /részletes-keresés.html?f=1&q=most&start=0

Generated link: /részletes-keresés.html?f=1&q=most&start=60

Result:

  • Pagination breaks
  • Empty results page

Important: If I manually replace "&" with "&" in the URL, pagination works correctly.

Looks like a double-escaping issue in pagination links.

Quick fix: /plugins/system/helixultimate/overrides/layouts/joomla/pagination/link.php

    elseif ($app->isClient('site'))
    {
        $escapedLink = htmlspecialchars($item->link ?? '', ENT_QUOTES, 'UTF-8');
        // $link = 'href="' . $escapedLink . '"';
        $link = 'href="' . $item->link . '"';
    }

Formatting edited.

0
1 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 3 days ago #221348

Hi,

Thank you for the detailed report and for sharing the workaround.

From your description, it does appear to be a double-escaping issue in the pagination links, where & is being converted to &, causing the q parameter to be lost in SEF URLs and resulting in broken pagination on subsequent pages.

We appreciate you pointing out the exact location and the temporary fix in the Helix Ultimate override file. Your solution makes sense as it prevents the additional escaping at that stage.

However, modifying core or override files directly is only a temporary workaround and may be overwritten during updates.

We will review this behavior within Helix Ultimate and check for a proper fix to ensure pagination links are generated correctly without breaking URL parameters.

Thank you again for your valuable feedback.

Best regards,

0