Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
b3b84d63
Commit
b3b84d63
authored
Aug 18, 2012
by
Clément Schreiner
Browse files
Pass the number of results found to the template.
parent
92034cca
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/plugins/api.py
View file @
b3b84d63
...
...
@@ -297,6 +297,7 @@ class BasePlugin(object):
template
=
self
.
_find_template
(
self
.
name
,
render_format
)
return
template
.
render_unicode
(
results
=
self
.
results
,
nb_results
=
self
.
nb_results
,
h
=
helpers
,
**
render_args
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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