Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5584 Filtering of Files on Dataset Page, Search using Solr #5820

Merged
merged 24 commits into from May 23, 2019

Conversation

landreev
Copy link
Contributor

@landreev landreev commented May 7, 2019

New Contributors

Welcome! New contributors should at least glance at CONTRIBUTING.md, especially the section on pull requests where we encourage you to reach out to other developers before you start coding. Also, please note that we measure code coverage and prefer you write unit tests. Pull requests can still be reviewed without tests or completion of the checklist outlined below. Thanks!

Related Issues

Pull Request Checklist

@coveralls
Copy link

coveralls commented May 7, 2019

Coverage Status

Coverage decreased (-0.05%) to 19.608% when pulling 78def13 on 5584-dataset-solr-facets into f699a85 on develop.

@landreev
Copy link
Contributor Author

landreev commented May 20, 2019

Per discussion with @mheppler, looking at the rendering rules in the fragment - specifically things like where it says "no files in the dataset" where it should really be saying "your search found nothing".
Strictly speaking, we've confirmed this to be an existing behavior in prod.; but it is mildly annoying, and most likely easy-ish to fix.

Screen Shot 2019-05-20 at 12 19 22 PM

@mheppler
Copy link
Contributor

Updated the "no results found" msg for the files table on the dataset pg and moved it to the bundle. Render logic added by @landreev looks good.

Screen Shot 2019-05-21 at 10 02 34 AM

// This 2nd search() is for populating the facets: -- L.A.
// TODO: ...
// This 2nd search() is for populating the "type" ("dataverse", "dataset", "file") facets: -- L.A.
// (why exactly do we need it, again?)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it's to get the counts (since it shows those counts even if that facet is not checked, ie those types are not returned by the search).

IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from Code Review 🦁 to QA May 21, 2019
@kcondon kcondon assigned kcondon and unassigned scolapasta May 21, 2019
@kcondon kcondon merged commit 5880afa into develop May 23, 2019
@kcondon kcondon deleted the 5584-dataset-solr-facets branch May 23, 2019 13:50
@pdurbin pdurbin added this to the 4.15 milestone Jun 14, 2019
@pdurbin pdurbin mentioned this pull request Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

6 participants