Skip to content

Facet for filtering "if property exists" #257

@timconrad

Description

@timconrad

Hi.

In MaRDI, we have publication items that can have an optional property "has companion code repository" ( https://portal.mardi4nfdi.de/wiki/Property:P1687 ), e.g. this one: https://portal.mardi4nfdi.de/wiki/Item:Q6292719 .

Can we add some kind of facet mechanism, that would allow to filter for papers where this property exists?

For example, I am interested in papers (items) that contain "optimal transport ". So, when I search and go to the "Publication tab"

( -> https://portal.mardi4nfdi.de/w/index.php?title=+Special%3ASearch&search=optimal+transport+&search=optimal+transport+&go=Go&ns0=1&ns122=1&ns4200=1&ns4202=1&ns4206=1&ns4208=1&ns4210=1 )

I would like on the right-hand side ("Filters") a checkbox with a label "has companion code repository". If I check that checkbox, then only publications are shown where this property exists. Or, it could be another filter with the "heading" "has companion code repository", where the choice "only show items with "has companion code repository" or so.

Best,
Tim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions