Search/browse: show authorized tunes, texts only

Project:Hymnary
Component:Code
Category:bug report
Priority:normal
Assigned:bdv4
Status:fixed
Description

Search and browse lists should show only authorized tunes and texts. (Users should see the whole list when they click on the tune or text name.)

Updates

#1 submitted by bdv4 on Thu, 2008-05-22 09:47

Searches under Texts->Any, Tunes->Any, Meters, or Titles will now only show authorized hymns. Author/Composer searches will be a little trickier since we want to display only authorized persons as well.

#2 submitted by Greg Scheer on Fri, 2008-05-23 22:40

This is working beautifully. I just connected all the "Y" tunes to authority files. I'll get cracking on connecting more. This progress creates a related issue. If we use a particular hymn from a particular hymnal as the authority file (which it seems we will do for the foreseeable future) it makes it look like we only have one holding for that hymn. Take a look at YORKSHIRE as an example. I search or browse to find YORKSHIRE and it looks like we only have one instance in our database. I click on the link and it takes me to PsH 350. Only a very inquisitive user will click on the title and discover the "other instances of this tune" list. It seems to me that search or browse should take the user directly to http://www.hymnary.org/hymn/PsH/350/tune. Also, we shouldn't list a particular hymnal instance if we really mean to refer them to the authority file page.