Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tev
plugin_event
Commits
3ffce7b8
Commit
3ffce7b8
authored
Apr 03, 2017
by
LE GAC Renaud
Browse files
Update callbacks to fix a bug in ON_CREATE_LISTS2.
parent
41d9e21a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/plugin_event/callbacks.py
modules/plugin_event/callbacks.py
+1
-2
No files found.
modules/plugin_event/callbacks.py
View file @
3ffce7b8
...
...
@@ -9,7 +9,6 @@ import json
from
dataframes
import
to_extjs_gridcolumns
from
event
import
Event
from
gluon
import
current
from
gluon.tools
import
PluginManager
from
plugin_dbui
import
CALLBACK_ERRORS
,
get_where_query
...
...
@@ -91,7 +90,7 @@ def ON_CREATE_LISTS2(values):
year_start
=
year
,
year_end
=
year
)
func
=
Event
.
get_source
(
values
[
"source"
])
.
func
func
=
Event
.
get_source
(
values
[
"source"
])
df
=
func
(
**
criteria
)
...
...
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