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
806fed17
Unverified
Commit
806fed17
authored
Oct 18, 2018
by
Petrus Janse van Rensburg
Committed by
GitHub
Oct 18, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1513 from nad2000/missing-extra-args-_get_list_extra_args
Added missing extra arguments to the ViewArgs
parents
0700b3ca
26bb7798
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
base.py
flask_admin/model/base.py
+6
-1
No files found.
flask_admin/model/base.py
View file @
806fed17
...
...
@@ -1739,7 +1739,12 @@ class BaseModelView(BaseView, ActionsMixin):
sort
=
request
.
args
.
get
(
'sort'
,
None
,
type
=
int
),
sort_desc
=
request
.
args
.
get
(
'desc'
,
None
,
type
=
int
),
search
=
request
.
args
.
get
(
'search'
,
None
),
filters
=
self
.
_get_list_filter_args
())
filters
=
self
.
_get_list_filter_args
(),
extra_args
=
dict
([
(
k
,
v
)
for
k
,
v
in
request
.
args
.
items
()
if
k
not
in
(
'page'
,
'page_size'
,
'sort'
,
'desc'
,
'search'
,
)
and
not
k
.
startswith
(
'flt'
)
]))
def
_get_filters
(
self
,
filters
):
"""
...
...
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