Skip to content
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

Filtering Data #25

Open
TangoYankee opened this issue Jul 25, 2018 · 1 comment
Open

Filtering Data #25

TangoYankee opened this issue Jul 25, 2018 · 1 comment
Assignees

Comments

@TangoYankee
Copy link
Member

Files Affect

  • gh-pages branch
  • layouts/data.html
  $(document).ready(function() {
      if ("{{page.resourceType}}" == 'shift_by_month') {
        $.ajax({

Description

  • Filters WOEIP by 'resourceType' and looks for 'shift-by-month'
  • This is using resource type in a way that it is not designed. It should be a filetype, such as geojson

Fix

  1. Change 'resource-type' values to the type of files that they are.
  2. Instead filter WOEIP by 'categories' by the value 'WOEIP'
@TangoYankee
Copy link
Member Author

This can be refractored when moving from a Jekyll to a Flask site

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

No branches or pull requests

2 participants