BEXIS2 / Core

This is the public code repository of the BEXIS2 data management software. It contains only modules, components, and packages of the core system. Contributed modules and components will be available in separate repositories. For more information on BEXIS2, please visit our website.
https://bexis2.github.io/
17 stars 13 forks source link

Search Page: Facet items with spaces are not encoded correct #1908

Open geofranzi opened 1 week ago

geofranzi commented 1 week ago

image

Returns an empty result: image

zxyctn commented 2 days ago

Problem could be related to special characters such as dash symbol "-". Nevertheless, I tried to create 2 more datasets with special characters in author fields, title, description etc. The result component didn't include the newly created datasets. I then created another dataset with no special characters, that also was not returned in the result component. I am not sure where this problem is originated from, but high likely it is to do with backend rather than frontend.

For your information, I was working on search-ui branch, maybe this is the case with my own instance. I am not sure.

image

"Rows": [
            {
                "PreviewItem": null,
                "Values": [
                    "4",
                    "Dataset",
                    "Global Temperature Data (1901-2020)",
                    "Doe",
                    "",
                    "This dataset contains global surface temperature anomalies from 1901 to 2020. It includes monthly and annual temperature deviations from the baseline period (1951-1980). The data is sourced from multiple meteorological stations worldwide and adjusted for variations in station locations, measurement techniques, and urban heat effects.",
                    null
                ]
            },
            {
                "PreviewItem": null,
                "Values": [
                    "3",
                    "Dataset",
                    "File dataset 2",
                    "",
                    "File dataset 2 contact",
                    "This is another file dataset",
                    ""
                ]
            },
            {
                "PreviewItem": null,
                "Values": [
                    "2",
                    "Dataset",
                    "Second test",
                    "Test person",
                    "John Doe",
                    "This is a file type",
                    "Test Org"
                ]
            },
            {
                "PreviewItem": null,
                "Values": [
                    "1",
                    "Dataset",
                    "Title",
                    "Sur name",
                    "Sur name Contact",
                    "Abstract",
                    null
                ]
            }
        ]