mirror of
https://github.com/MAGICGrants/campaign-site-docker-API.git
synced 2026-01-07 23:13:52 -05:00
Allow character value for isFunded
This commit is contained in:
@@ -31,7 +31,7 @@ cache.fundingrequired <- function() {
|
||||
|
||||
|
||||
for (i in seq_along(projects.json)) {
|
||||
if (!projects.json[[i]]$isFunded) {
|
||||
if ( grepl("^F", projects.json[[i]]$isFunded, ignore.case = TRUE) ) {
|
||||
needs.funding.index <- c(needs.funding.index, i)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user