New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index set ui fixes #3203

Merged
merged 2 commits into from Dec 14, 2016

Conversation

Projects
None yet
2 participants
@bernd
Member

bernd commented Dec 14, 2016

  • Sort index sets by title, not by date
  • Do not show the rotation/retention form for non-writable index sets

@bernd bernd added this to the 2.2.0 milestone Dec 14, 2016

@@ -120,7 +120,7 @@ protected MongoIndexSetService(JacksonDBCollection<IndexSetConfig, ObjectId> col
final DBQuery.Query query = DBQuery.or(idQuery.toArray(new DBQuery.Query[0]));
return ImmutableList.copyOf(collection.find(query)
.sort(DBSort.desc("creation_date"))
.sort(DBSort.asc("title"))

This comment has been minimized.

@joschi

joschi Dec 14, 2016

Contributor

With this change, we could remove the index on creation_date (although it doesn't hurt either).

This comment has been minimized.

@bernd

bernd Dec 14, 2016

Member

Let's just leave it. Maybe we need it in the future... 😄

@joschi joschi self-assigned this Dec 14, 2016

@joschi

joschi approved these changes Dec 14, 2016

@joschi joschi merged commit 1261a80 into master Dec 14, 2016

4 checks passed

ci-web-linter Jenkins build graylog-pr-linter-check 1146 has succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
licence/cla Contributor License Agreement is signed.
Details

@joschi joschi deleted the index-set-ui-fixes branch Dec 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment