Up Down

It was a little weird for a while there and I’m still not exactly sure what was causing some of the issues, but I cleared out a bunch of the code and rewrote it, and now the filtering is working again. For long lists of results, it’s still a server intensive process, so on rare occasions it will dump the user back at the front page, but for the most part it’s working even better than it was before the switch to custom post types.

The end result is what I wanted, so I’m not gonna complain. Really glad that I didn’t have to just drop the feature entirely, it’s one of my favorite ways to use the database!

Quick refresher:

You can use filtering to really refine a list, getting a huge variety of results. Some parts are limited right now, like the character filter, because not every character is tagged in ever book, but you can still get really good results.

Say I want Batman books in the 1960s. I’d put “Batman” in the title field and “196” in the date field (I don’t want to limit to a specific year, especially because dates are most often ranges. Here’s the result, 18 books that meet my criteria. I might want to see if there are any other books that collect Batman comics that don’t have the word “Batman” in the title. So I can type “Batman” in the issue field instead. Or maybe I want to try “Detective” to look for Detective Comics in the 60s.

Getting the idea?

Obviously, you might not find exactly what you want on your first set of results – maybe the book you are looking for covers a wide range and the date is in there as 1954-1973 – so “196” wouldn’t work. But it’s still a really powerful tool, and should help you guys a LOT when putting your collections together.

Feel free to ask me any questions you have about Filtering your lists!

Want to stay up to date? Click here to subscribe to updates by RSS!
You can also sign up to get updates by Email!
« | »

2 Comments Post New »

  1. Gorblax wrote on at July 11, 2010 12:04 pm:

    Thank the Source! This makes my life a whole lot easier.

    [Reply]

    Ian replied on July 11th, 2010 at 12:45 pm:

    Great! Let me know if you find any issues with it. It’s a little complicated in how it works, so it’s quite possible some things are messed up!

    [Reply]

Trackbacks and Related Posts

Content from other blogs and on this site that links back to this post.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Registered users may edit their comments past the 5 minute limit. [Register] [Login] [Logout]
HTML is allowed, but posts containing more than two links or sketchy code will be held for moderation.

« | »