Fix the 3-way filter associating

Add the data-searchLocation attribute to the search results
This commit is contained in:
Matt Mascarenhas 2020-05-17 23:00:12 +01:00
parent ce9a0e7635
commit 8aa67a386a
2 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,7 @@ typedef struct
version CINERA_APP_VERSION = { version CINERA_APP_VERSION = {
.Major = 0, .Major = 0,
.Minor = 7, .Minor = 7,
.Patch = 10 .Patch = 11
}; };
#include <stdarg.h> // NOTE(matt): varargs #include <stdarg.h> // NOTE(matt): varargs

View File

@ -544,6 +544,7 @@ function renderResults() {
if(projects[i].playerURLPrefix === episode.playerURLPrefix) if(projects[i].playerURLPrefix === episode.playerURLPrefix)
{ {
projectContainer.setAttribute("data-baseURL", projects[i].baseURL); projectContainer.setAttribute("data-baseURL", projects[i].baseURL);
projectContainer.setAttribute("data-searchLocation", projects[i].searchLocation);
projectContainer.setAttribute("data-playerLocation", projects[i].playerLocation); projectContainer.setAttribute("data-playerLocation", projects[i].playerLocation);
if(projects[i].filteredOut) if(projects[i].filteredOut)
{ {