Search library by title

5 posts / 0 new
Last post
doubleintegral
doubleintegral's picture
Search library by title

Would it be possible to add a feature to search the library by story title?  Searching by author is tricky if you don't remember who wrote it, and browsing is time consuming since the pages don't show very many stories at a time.

LutherVKane
LutherVKane's picture

The short (and rather unhelpful) answer is: maybe

Currently the best way to search for a story by title is to type it into the Search box and then filter the content type by story.

I could add Title to the search criteria in the Library view but, due to various boring technical issues, it wouldn't work the same way as the Author field does now. You'd have to select a search option (e.g., is equal to, starts with, contains) and a phrase to search for. I don't know if that's what you're looking for.

You know what, it's really easy to set up. Check this out and let me know if this is what you have in mind:

Library view with Title filter

 

doubleintegral
doubleintegral's picture

Didn't even think about using the main search feature, which makes me a complete idiot.  But what I had in mind was kind of similar to the AJAX author search you already have, where you start typing and it whittles down the list of names.

I can appreciate boring technical issues, so if you feel like indulging me I'm mildly curious.

LutherVKane
LutherVKane's picture

It's one of Drupal's limitations. I haven't looked into it too deeply, and it's possible there's a way around it, but with my current setup there's no way to use autocomplete on title fields. It just isn't an option when setting up views. The AJAX autocomplete is only supported on taxonomy fields (e.g., Author, Artist, Keywords).

I've always been ambivalent about the story display. My intention was to provide a view into the story archive where people could filter based what I assumed to be the more common criteria. If people wanted to get more specific, they could use the main search function.

But that means we now have two search pages for stories that have some odd disjoints in functionality. For example, in the Story Archive, multiple dropdown menu selections are ORed, but in the main search they're ANDed. This means that certain searches are possible in each that aren't possible in the other.

So yeah, a certain amount of confusion is understandable.

doubleintegral
doubleintegral's picture

Wow, that's screwy.  Thanks for the explanation, though.