JHTML-GRID-001

JHtml::_('grid.sort')

JHtml::_('grid.*')

grid.* helpers still alias on J4/J5. Admin lists should use searchtools like Atum.

JHtml::_('grid.sort')HTMLHelper grid + joomla.searchtools

Dies at Joomla 5 → 6J3: Works nativelyJ4: Alias (old name still resolves)J6: Removed — fatalBC plugin: covers the class namePatch possible — review itJoomla API

Symptoms people search

admin list checkboxes ugly · grid.sort

Replace this code

Swap JHtml::_('grid.sort') for HTMLHelper grid + joomla.searchtools.

Joomla 3

Remove or stop calling this

echo JHtml::_('grid.sort', 'Title', 'a.title', $listDirn, $listOrder);

Joomla 4 / 6

Use this instead

echo HTMLHelper::_('searchtools.sort', 'Title', 'a.title', $listDirn, $listOrder);

How to fix it

  1. 1Move list views to searchtools layouts.
  2. 2Keep HTMLHelper, drop JHtml.

Also known as

grid.sort · grid.id · searchtools

Related issues

Get in touch

Have a project in mind? Let's talk about it.

Tell us what you're building. Whether it's a new site, an online store, a mobile app, or something that needs AI under the hood, we'll get back to you within a business day.

Free consultation
No commitment, no pressure
Reply within 24 hours
Usually much faster

Prefer a direct conversation?

Request a project quote

Tell us about your project

Fill out the quick form and we'll reach out.