Unstable sort for extension_hint.php

When extension_hint.php is exported, the sorting can be unstable from install-to-install.

This is because the query lacks needs a sort clause on the more clauses. Ideally this should sort by from_class and then to_class
PHP:

Код:
	public function getExtensionCacheFileValue($addOnId)
	{
		$finder = \XF::finder(ClassExtensionFinder::class)
			->where('addon_id', $addOnId)
			->order('to_class');
		$extensions = $finder->fetch();

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ