Commit f87d2747 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Refonte du système de recherche (en cours)

parent 31d4645d
Loading
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -135,18 +135,19 @@ return array(
                [
                    'controller' => 'Activity',
                    'action' => [
                        'show',
                        'show2',
                        'activitiesOrganizations',
                        'delete',
                        'documentsJson',
                        'duplicate',
                        'edit',
                        'makeProject',
                        'new',
                        'duplicate',
                        'persons',
                        'organizations',
                        'makeProject',
                        'delete',
                        'persons',
                        'search',
                        'show',
                        'show2',
                        'visualization',
                        'documentsJson',
                        'activitiesOrganizations',
                        'changeProject',
                        'jsonApi',
                        'notifications',
+7 −0
Original line number Diff line number Diff line
@@ -920,6 +920,13 @@ contract:
                defaults:
                    action: advancedSearch

        search:
            type: segment
            options:
                route: /search
                defaults:
                    action: search

        api:
            type: segment
            options:
+7 −0
Original line number Diff line number Diff line
@@ -893,6 +893,13 @@ class ProjectGrantController extends AbstractOscarController implements UseNotif
        return $view;
    }

    public function searchAction()
    {
        return [

        ];
    }

    /**
     * @return \Zend\Http\Response
     */
+2 −1
Original line number Diff line number Diff line
<?php
<div id="search"></div>
<?php $this->Vite()->addJs('src/search.js'); ?>
+3 −1
Original line number Diff line number Diff line
@@ -10,7 +10,9 @@
  },
  "dependencies": {
    "@vitejs/plugin-vue": "^4.0.0",
    "vue": "^3.2"
    "axios": "^1.3.4",
    "vue": "^3.2",
    "vue-select": "^3.20.2"
  },
  "devDependencies": {
    "rollup-plugin-vue": "5.0.0",
Loading