Skip to content

Conversation

@carlosmauri
Copy link

@carlosmauri carlosmauri commented Aug 18, 2025

Hi @pkamps ,

I completely forgot about this interesting PR so let's see if we can merge this one into our own forks. (Ibexa said no to this merge long time ago).

Basically this PR allows to set the 'sortBy' (sort order of the search result) reading the values from a new ini block.
https://ezpublishdoc.mugo.ca/Extensions/eZ-Publish-extensions/eZ-Find/eZ-Find-2.1/Customization/Template-fetch-functions#Sort_by

Right now the sortBy is hardcoded here:
extension/ezjscore/classes/ezjscserverfunctionsjs.php

The goal is to remove the hardcoded sort by logic and to be able to read either ini setting or post variable.

This PR is related to this one:
mugoweb/ezpublish-legacy#234

Thanks!

PS. This is the original ticket where this was implemented https://app.assembla.com/spaces/mugo-development-general/tickets/620

@carlosmauri carlosmauri changed the title see #620: add new [SearchSettings] block to set the SortBy value in t… Add new [SearchSettings] block to set the SortBy value [#620] Aug 18, 2025
@carlosmauri carlosmauri requested a review from pkamps August 18, 2025 14:35
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.

4 participants