Skip to content

Commit

Permalink
[pools] fix order page rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Feb 11, 2024
1 parent 2661880 commit 871b5b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/pools/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ public function onInitExt(InitExtEvent $event): void
{
global $config;

Image::$prop_types["image_order"] = ImagePropType::INT;

// Set the defaults for the pools extension
$config->set_default_int(PoolsConfig::MAX_IMPORT_RESULTS, 1000);
$config->set_default_int(PoolsConfig::IMAGES_PER_PAGE, 20);
Expand Down

0 comments on commit 871b5b6

Please sign in to comment.