Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
b904f03c
Commit
b904f03c
authored
Dec 01, 2017
by
Cecilia Vela Gurovic
Committed by
Gerrit Code Review
Dec 01, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Bug 1735256: Make sure pagination offset is reset on new search"
parents
9430f362
71d1c2df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
htdocs/search/elasticsearch/index.php
htdocs/search/elasticsearch/index.php
+2
-1
No files found.
htdocs/search/elasticsearch/index.php
View file @
b904f03c
...
...
@@ -149,7 +149,8 @@ jQuery(function ($) {
var
tagsonly
=
false
;
}
var
params
=
{
'query'
:
$
(
'#search_query'
)
.
val
(),
'tagsonly'
:
tagsonly
,
'mainfacetterm'
:
null
,
'limit'
:
$
(
'#setlimitselect'
)
.
val
(),
'extradata'
:
JSON
.
stringify
({
'page'
:
'index'
})};
var
params
=
{
'query'
:
$
(
'#search_query'
)
.
val
(),
'tagsonly'
:
tagsonly
,
'mainfacetterm'
:
null
,
'offset'
:
0
,
'limit'
:
$
(
'#setlimitselect'
)
.
val
(),
'extradata'
:
JSON
.
stringify
({
'page'
:
'index'
})};
p
.
sendQuery
(
params
);
event
.
preventDefault
();
});
...
...
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