mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-19 11:06:41 +03:00
* Add a recipe for coka/pagination-bundle
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
oka_pagination:
|
||||
db_driver: orm
|
||||
model_manager_name: ~
|
||||
item_per_page: 10
|
||||
max_page_number: 400
|
||||
template: 'OkaPaginationBundle:Pagination:paginate.html.twig'
|
||||
request:
|
||||
query_map:
|
||||
page: page
|
||||
item_per_page: item_per_page
|
||||
sort: sort
|
||||
desc: desc
|
||||
distinct: distinct
|
||||
fields: fields
|
||||
sort:
|
||||
delimiter: ','
|
||||
twig:
|
||||
enable_extension: false
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Oka\\PaginationBundle\\OkaPaginationBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user