Filters for Awards Page on ASC
UHall people would like this page updated: https://artsandsciences.osu.edu/about/awards-recognition
To have different filters. They like Award Type and Award Group but they don’t want the date filter, instead they want to filter by year and by department as well. How much freedom do we have to mess with these kinds of things?
Comments:
- Researched Awards grid page seems to be controlled on template.php at the following places:
- line 550
- line 1482
- line 2183
- line 2376
- line 2801
- line 3450 (Brian Canini - Dec 19, 2017)
- Got year to function but "view more" is not functioning properly (pulls up all posts and not specified year) (Brian Canini - Jan 11, 2018)
- Filters controlled by following functions:
- line 2376: function osu_asc_get_latest_awards
- line 2801: function osu_asc_preprocess_node(&$variables) - case 'awards' (Brian Canini - Jan 11, 2018)
- Load More controlled in modules > custom > osu_asc_module
function osu_asc_module_get_paginated_content_type() awards case on line 324
- needed to add year to this
Tested and all is working
Set up Year dropdown on grid page that goes back to 2015 (the earliest I found for the content type)
- Pushing to Dev for Molly to review (Brian Canini - Jan 25, 2018)