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

Advanced search - for a specific dataverse #331

Closed
eaquigley opened this issue Jul 9, 2014 · 6 comments
Closed

Advanced search - for a specific dataverse #331

eaquigley opened this issue Jul 9, 2014 · 6 comments
Assignees

Comments

@eaquigley
Copy link
Contributor


Author Name: Gustavo Durand (@scolapasta)
Original Redmine Issue: 3746, https://redmine.hmdc.harvard.edu/issues/3746
Original Date: 2014-03-20
Original Assignee: Philip Durbin


Right now advanced search works for the root dataverse, but once we get the alias concept working, we'll need it to work for a specific dataverse.

This will include logic to determine which metadaablocks to show.


Related issue(s): #48
Redmine related issue(s): 3455


@eaquigley eaquigley added this to the Dataverse 4.0: In Review milestone Jul 9, 2014
@eaquigley eaquigley modified the milestones: Dataverse 4.0: Beta 5, Dataverse 4.0: In Review Jul 15, 2014
@eaquigley eaquigley modified the milestones: In Review - Dataverse 4.0, Beta 9 - Dataverse 4.0 Nov 10, 2014
@pdurbin pdurbin assigned eaquigley and unassigned pdurbin Nov 12, 2014
@pdurbin
Copy link
Member

pdurbin commented Nov 12, 2014

@mheppler @eaquigley will be chatting with you about how the UI should look.

@eaquigley
Copy link
Contributor Author

@eaquigley
Copy link
Contributor Author

Have only the metadata blocks enabled for the dataverse appear on the advanced search page.

@scolapasta
Copy link
Contributor

#1302 covers the case of child dvs and is for post 4.0

pdurbin added a commit that referenced this issue Jan 15, 2015
Also, only metadata blocks of the selected dataverse are shown.
pdurbin added a commit that referenced this issue Jan 15, 2015
Also, ensure the dataverse is never null.
@pdurbin
Copy link
Member

pdurbin commented Jan 15, 2015

Being able to use the Advanced Search page on a particular dataverse subtree has now been implemented. As shown in the mockups, the way you enter into Advanced Search is by first navigating to the dataverse in question and then clicking "Advanced Search". You can't switch which dataverse you're searching from the Advanced Search page. This is how Advanced Search works in DVN 3.x as well.

Note that as requested, only the metadata blocks for the selected dataverse are shown.

As before, the Advanced Search page really is just constructing a URL to pass to the dataverse page (where searching happens) with "q" and other parameters. It's the equivalent of typing in same query in from basic search (if you knew all the field names).

Please note that after discussing URLs with @mheppler and @eaquigley we've gotten rid of http://localhost:8080/search/advanced as a URL. Rather, you see the dataverse alias/identifier in the URL followed by "/search" like this:

(I had to do a undeploy/deploy to get the URLs to update after this PrettyFaces config change.)

@mheppler has lots of ideas for how URLs and breadcrumbs should look for search but I didn't get a chance to look into this. Maybe he'll create a ticket. I do understand that after you click "Find" from the Advanced Search page, the URL gets uglified into something like http://localhost:8080/dataverse.xhtml?q=dvDescription_en%3Afoo&id=1 . For now this is expected behavior. The focus here is the functionality.

Moving to QA.

@pdurbin pdurbin removed their assignment Jan 15, 2015
@kcondon kcondon self-assigned this Jan 15, 2015
@kcondon
Copy link
Contributor

kcondon commented Jan 16, 2015

OK, tested scope, objects, blocks, URL, all works as described. Closing.

@kcondon kcondon closed this as completed Jan 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants