[pools] fix order page rendering

This commit is contained in:
Shish 2024-02-11 18:36:33 +00:00
parent ed923fd80a
commit a62994ed3c

View file

@ -130,6 +130,8 @@ class Pools extends Extension
{ {
global $config; global $config;
Image::$prop_types["image_order"] = ImagePropType::INT;
// Set the defaults for the pools extension // Set the defaults for the pools extension
$config->set_default_int(PoolsConfig::MAX_IMPORT_RESULTS, 1000); $config->set_default_int(PoolsConfig::MAX_IMPORT_RESULTS, 1000);
$config->set_default_int(PoolsConfig::IMAGES_PER_PAGE, 20); $config->set_default_int(PoolsConfig::IMAGES_PER_PAGE, 20);