diff --git a/languages/CreatorRoles/fi.ini b/languages/CreatorRoles/fi.ini index 09a25e07e6e616534dbd8653d3a59d50a4100fa3..aeeb5743ea6e9d7a8dd40be0d1048e828604760a 100644 --- a/languages/CreatorRoles/fi.ini +++ b/languages/CreatorRoles/fi.ini @@ -32,6 +32,7 @@ dub = "Kyseenalainen tekijä" edt = "Toimittaja" egr = "Kaivertaja" fac = "Jäljenteen toteuttaja" +fds = "Levittäjä" flm = "Leikkaaja" fmp = "Tuottaja" fnd = "Rahoittaja" diff --git a/module/VuFind/src/VuFind/Db/Table/Search.php b/module/VuFind/src/VuFind/Db/Table/Search.php index 464724d6586a5fe01c98b86e5de26c3d7ec90770..63f8cccc8ba974d507d36b8318596d3e389a242a 100644 --- a/module/VuFind/src/VuFind/Db/Table/Search.php +++ b/module/VuFind/src/VuFind/Db/Table/Search.php @@ -73,7 +73,7 @@ class Search extends Gateway } $eventFeature = new Feature\EventFeature(); $eventFeature->getEventManager()->attach( - Feature\EventFeature::EVENT_PRE_INSERT, [$this, 'onPreInsert'] + Feature\EventFeature::EVENT_PRE_INITIALIZE, [$this, 'onPreInsert'] ); $this->featureSet->addFeature($eventFeature); } @@ -82,7 +82,7 @@ class Search extends Gateway } /** - * Customize the Insert object to include extra metadata about the + * Customize the database object to include extra metadata about the * search_object field so that it will be written correctly. This is * triggered only when we're interacting with PostgreSQL; MySQL works fine * without the extra hint.