multi-category search improvement

Use this forum for HELP at Choral Public Domain Library as well as FEEDBACK
Post Reply
Brian Marble
Posts: 3
Joined: 13 Oct 2013 13:51

multi-category search improvement

Post by Brian Marble »

I was hoping it's possible to add the contributor to the search criteria. For example, one could search for all 5 voice or Renaissance works from a certain contributor. Thank you.
carlos
Site Admin
Posts: 1870
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: multi-category search improvement

Post by carlos »

Thanks for your suggestion, I'll check the possibility of implementing it.
Carlos (talk)
CPDL Administration
choralia
Site Admin
Posts: 2926
Joined: 05 Mar 2006 19:57
Location: Rome, Italy
Contact:

Re: multi-category search improvement

Post by choralia »

I've just made some modifications for that, but I'm not very familiar with that page, so, Carlos, please check and possibly improve...

Max
CHGiffen
Site Admin
Posts: 1781
Joined: 16 Sep 2005 21:22
Location: Hudson, Wisconsin, USA

Re: multi-category search improvement

Post by CHGiffen »

Max, the search by Editor field seems to be working just fine. Thanks!!!
Charles H. Giffen
CPDL Board of Directors Chair
Admin at & Manager of ChoralWiki
carlos
Site Admin
Posts: 1870
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: multi-category search improvement

Post by carlos »

choralia wrote:I've just made some modifications for that, but I'm not very familiar with that page, so, Carlos, please check and possibly improve...
Thanks Max, looks like you've already got the hang of it. :wink:
choralia
Site Admin
Posts: 2926
Joined: 05 Mar 2006 19:57
Location: Rome, Italy
Contact:

Re: multi-category search improvement

Post by choralia »

The flash strikes again... :lol:

I'm not totally happy with my implementation because one has always to specify at least one category further to the editor's name, which is not completely logical as the editor's name is also handled through a category itself. I'm not sure whether the editor's name can be somehow considered as equivalent to other categories, and thus allow the user to only specify the editor's name.

Max
carlos
Site Admin
Posts: 1870
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: multi-category search improvement

Post by carlos »

choralia wrote:I'm not sure whether the editor's name can be somehow considered as equivalent to other categories, and thus allow the user to only specify the editor's name.
Max, I don't see any problem with this, so I've allowed searches by editor's name only.

As an experiment, I've replaced the field where the editor's name should be typed in by a drop-down list with names pre-loaded, so as to avoid typing errors. How do you all like it?
choralia
Site Admin
Posts: 2926
Joined: 05 Mar 2006 19:57
Location: Rome, Italy
Contact:

Re: multi-category search improvement

Post by choralia »

carlos wrote:How do you all like it?
For me, that's great. Well done, Carlos. What about adding an ordermethod = sortkey in the dpl query, so that editor names are ordered by surname?

Max
carlos
Site Admin
Posts: 1870
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: multi-category search improvement

Post by carlos »

choralia wrote:What about adding an ordermethod = sortkey in the dpl query, so that editor names are ordered by surname?
I particularly prefer it ordered by name just because by typing a letter the list jumps to the first name starting by that letter (which is good, considering that we have almost one thousand editors in the list); but if others prefer it by surname as you suggest, it's also fine by me.

That choice will probably depend on the user's cultural background: anglophone countries seem to prefer lists ordered by surname, while other cultures (as the lusophone countries) prefer to sort lists by given name.
CHGiffen
Site Admin
Posts: 1781
Joined: 16 Sep 2005 21:22
Location: Hudson, Wisconsin, USA

Re: multi-category search improvement

Post by CHGiffen »

Thanks to both Max and Carlos for the tweaks.
Charles H. Giffen
CPDL Board of Directors Chair
Admin at & Manager of ChoralWiki
Post Reply