oasis-dev / oasis-new-website

Repo for tracking issues around the new website
0 stars 0 forks source link

Generate link to filtered view of Projects #97

Closed CarolGeyer closed 3 years ago

CarolGeyer commented 3 years ago

Is there a way we can get a link to, for example, all the Projects with the "Privacy" Technology tag?

This would be really useful when we're pitching a new project, and the proposer asks, "What other privacy projects do you have?" Of course, we can always tell them to go to /projects and filter on "privacy", but it would be great if we could provide the direct URL.

I think Scott knows the answer to this--not sure.

chet-ensign commented 3 years ago

@scottmcgrath - on this request from @carol -

When I use the url https://www.oasis-open.org/projects-committees?filter-committee-status=active - it filters the projects for those that are active.

However, when I try https://www.oasis-open.org/projects-committees?filter-technology-area=security - it does nothing. Just opens up the page of projects.

Do you know if this is because the filter isn't 'technology-area'?

OASIS-OP-Admin commented 3 years ago

Thanks to Joeleen at HM. I was this close. The url is https://www.oasis-open.org/projects-committees/?filter-technology=security. I have to find out the filter name for privacy & test out the others but so far, using the lowercase filter name works.

OASIS-OP-Admin commented 3 years ago

To find the word to use for any given Technology Area, go to the WP dashboard, go down to the Projects & Committees section, and click on Technology Areas below it. The TAs will be listed. Click on any given one and then find its slug. For example, Privacy/Identity is privid. And indeed, https://www.oasis-open.org/projects-committees/?filter-technology=privid filters for those projects.

OASIS-OP-Admin commented 3 years ago

The question being answered, I'm closing this ticket.