瀏覽代碼

FD3-293 Filtro sonata admin por session

Guillermo Espinoza 7 年之前
父節點
當前提交
4ea5a12eef
共有 1 個文件被更改,包括 7 次插入6 次删除
  1. 7 6
      app/config/config.yml

+ 7 - 6
app/config/config.yml

@@ -72,7 +72,7 @@ twig:
         owner_voter: '@owner_voter.voter'
         fd_alerts: '@base_admin.alert_service'
         tenancy_service: '@base_tenancy.tenancy_service'
-        checked_is_user_logged_in: '%app.checked_is_user_logged_in%'    
+        checked_is_user_logged_in: '%app.checked_is_user_logged_in%'
 
 # Doctrine Configuration
 doctrine:
@@ -104,7 +104,7 @@ swiftmailer:
     host: '%mailer_host%'
     username: '%mailer_user%'
     password: '%mailer_password%'
-    spool: { type: memory }   
+    spool: { type: memory }
 
 sonata_block:
     default_contexts: [sonata_page_bundle]
@@ -115,16 +115,17 @@ sonata_block:
 sonata_admin:
     templates:
         layout: BaseAdminBundle::standard_layout.html.twig
-        user_block: BaseOAuthClientBundle:Core:oauth_user_block.html.twig    
-
+        user_block: BaseOAuthClientBundle:Core:oauth_user_block.html.twig
+    persist_filters: true
+    
 doctrine_migrations:
     dir_name: "%kernel.root_dir%/DoctrineMigrations"
     namespace: Application\Migrations
     table_name: migration_versions
     name: Application Migrations
     organize_migrations: false # Version >=1.2 Possible values are: "BY_YEAR", "BY_YEAR_AND_MONTH", false
-    
+
 stof_doctrine_extensions:
     orm:
         default:
-            timestampable: true    
+            timestampable: true