Skip to content

Commit

Permalink
Released version 3.4.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berthereau authored and Daniel Berthereau committed Jul 3, 2023
1 parent febdb87 commit d87698b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/module.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ author_link = "https://gitlab.com/Daniel-KM"
module_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-EasyAdmin"
support_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-EasyAdmin/-/issues"
configurable = false
version = "3.4.11"
version = "3.4.12"
omeka_version_constraint = "^3.1.0 || ^4.0.0"
dependencies = "Log"
7 changes: 7 additions & 0 deletions data/scripts/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,10 @@
$message->setEscapeHtml(false);
$messenger->addSuccess($message);
}

if (version_compare($oldVersion, '3.4.12', '<')) {
// Reset the session for browse page, managed differently.
$session = new \Laminas\Session\Container('EasyAdmin');
$session->lastBrowsePage = [];
$session->lastQuery = [];
}

0 comments on commit d87698b

Please sign in to comment.