Skip to content

Conversation

@Azuny
Copy link

@Azuny Azuny commented Aug 16, 2017

So I tried to implement date filter for search results like it was suggested in #109 . Basically just adding the calendar from https://github.com/dangrossman/bootstrap-daterangepicker, sending the date range as a request parameter and filtering directly in elastic, or in database model.

<script src="{{ static_cachebuster('js/main.js') }}"></script>

<!-- Include Date Range Picker -->
<script type="text/javascript" src="//cdn.jsdelivr.net/momentjs/latest/moment.min.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use cloudflare's CDNJS with an integrity check, no need to contact even more domains

@ArjixWasTaken
Copy link

moment is too big of a dependency, you should look into dayjs

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants