Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
b6be959a
Commit
b6be959a
authored
Dec 20, 2017
by
Rad Cirskis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extra args propagated further to search ...
parent
9b987b8f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
base.py
flask_admin/model/base.py
+3
-0
layout.html
flask_admin/templates/bootstrap2/admin/model/layout.html
+3
-0
layout.html
flask_admin/templates/bootstrap3/admin/model/layout.html
+3
-0
No files found.
flask_admin/model/base.py
View file @
b6be959a
...
...
@@ -1980,6 +1980,9 @@ class BaseModelView(BaseView, ActionsMixin):
get_pk_value
=
self
.
get_pk_value
,
get_value
=
self
.
get_list_value
,
return_url
=
self
.
_get_list_url
(
view_args
),
# Extras
extra_args
=
view_args
.
extra_args
,
)
@
expose
(
'/new/'
,
methods
=
(
'GET'
,
'POST'
))
...
...
flask_admin/templates/bootstrap2/admin/model/layout.html
View file @
b6be959a
...
...
@@ -63,6 +63,9 @@
{% for flt_name, flt_value in filter_args.items() %}
<input
type=
"hidden"
name=
"{{ flt_name }}"
value=
"{{ flt_value }}"
>
{% endfor %}
{% for flt_name, flt_value in extra_args.items() %}
<input
type=
"hidden"
name=
"{{ flt_name }}"
value=
"{{ flt_value }}"
>
{% endfor %}
{% if page_size != default_page_size %}
<input
type=
"hidden"
name=
"page_size"
value=
"{{ page_size }}"
>
{% endif %}
...
...
flask_admin/templates/bootstrap3/admin/model/layout.html
View file @
b6be959a
...
...
@@ -63,6 +63,9 @@
{% for flt_name, flt_value in filter_args.items() %}
<input
type=
"hidden"
name=
"{{ flt_name }}"
value=
"{{ flt_value }}"
>
{% endfor %}
{% for flt_name, flt_value in extra_args.items() %}
<input
type=
"hidden"
name=
"{{ flt_name }}"
value=
"{{ flt_value }}"
>
{% endfor %}
{% if page_size != default_page_size %}
<input
type=
"hidden"
name=
"page_size"
value=
"{{ page_size }}"
>
{% endif %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment