window.filterProjectsByAuthorSlug = (allProjects, authorSlug) => { return allProjects.filter(project => project["field_6018279"] === authorSlug); };