Skip to content
Snippets Groups Projects
Commit 889c16eb authored by Alexander Purr's avatar Alexander Purr Committed by Dorian Merz
Browse files

refs #18241 [fid_bbi] add acquisitions functionality

* inherit RecordController from fid
* force fid/RecordControllerDelegatorFactory to serve bbi/RecordController
parent 37f0f271
No related merge requests found
...@@ -25,6 +25,8 @@ use VuFind\Db\Table\Tags as BaseTagsTable; ...@@ -25,6 +25,8 @@ use VuFind\Db\Table\Tags as BaseTagsTable;
use fid_bbi\Db\Table\Tags as BBITagsTable; use fid_bbi\Db\Table\Tags as BBITagsTable;
use VuFind\Db\Row\Tags as BaseTagsRow; use VuFind\Db\Row\Tags as BaseTagsRow;
use VuFind\Db\Table\CaseSensitiveTagsFactory; use VuFind\Db\Table\CaseSensitiveTagsFactory;
use fid_bbi\Controller\RecordController;
use fid\Controller\RecordControllerDelegatorFactory;
$config = [ $config = [
'forms' => [ 'forms' => [
...@@ -50,6 +52,11 @@ $config = [ ...@@ -50,6 +52,11 @@ $config = [
'VuFind\Controller\MyResearchController' => 'fid_bbi\Controller\MyResearchController', 'VuFind\Controller\MyResearchController' => 'fid_bbi\Controller\MyResearchController',
'VuFind\Controller\BrowseController' => 'fid_bbi\Controller\BrowseController', 'VuFind\Controller\BrowseController' => 'fid_bbi\Controller\BrowseController',
], ],
'delegators' => [
RecordController::class => [
RecordControllerDelegatorFactory::class,
],
],
], ],
'vufind' => [ 'vufind' => [
'plugin_managers' => [ 'plugin_managers' => [
...@@ -163,7 +170,8 @@ $nonTabRecordActions = [ ...@@ -163,7 +170,8 @@ $nonTabRecordActions = [
'PDA', 'PDA',
'EmailHold', 'EmailHold',
'ReportErrors', 'ReportErrors',
'Acquisition' 'Acquisition',
'fidSubitoPartialCopy'
]; ];
......
...@@ -46,7 +46,7 @@ use Zend\Validator\StringLength; ...@@ -46,7 +46,7 @@ use Zend\Validator\StringLength;
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link https://vufind.org Main Site * @link https://vufind.org Main Site
*/ */
class RecordController extends \finc\Controller\RecordController implements class RecordController extends \fid\Controller\RecordController implements
LoggerAwareInterface LoggerAwareInterface
{ {
use \VuFind\Log\LoggerAwareTrait; use \VuFind\Log\LoggerAwareTrait;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment