Here's an idea for a feature based on a need I discovered. I set up a website as a way of reporting on some literature research I was doing and realized that it would be nice if I could display only articles from a certain Journal. I know that it might be difficult given that this only applies to some entries (unlike author, year or keyword). BTW: I don't feel any huge need for it, but I guess filtering by publisher would be a nice (if a more or less cosmetic) feature that somebody could use. I can't think of anything else I'd ever possibly want to sort by (honest!).

I guess the best way to get to that stage would be to make fields like Title, Author, Year, Publisher, Journal Name, Editor, Book title, Pagination available to the Views module (and I really don't know if that is feasible). Then, I could create all sorts of directories sorted by whatever bizarre feature strikes my fancy that day.

Please, take this as a 3G feature suggestion.

Comments

rjerome’s picture

Actually, the feature already exists, it's just undocumented. You can filter on publisher by entering the url biblio/publisher/publishername.

Ron.

(I've got to finish the documentation sometime :-)

techczech’s picture

Thanks. The Publisher feature works. I located it in the code and added the Journal sorting thus:

        case 'journal':
          $term = db_escape_string($arg_list[0]);
          array_shift($arg_list);
          $limit .= " AND MATCH(b.biblio_secondary_title) AGAINST('%s'  IN BOOLEAN MODE)";
          $terms[] = $term;
          array_push($args, $type, $term);
          break;

This works up to a point. The problem is that the boolean mode seems to have a glitch and /bibliography/journal/+Research+in+Higher+Education returns exactly the same results as /bibliography/journal/Research%20in%20Higher%20Education, that is all records in which any of the words appear. When I try to enclose it in " or %22s as the MySQL manual suggests, I get the following:

Filters: journal is \\\" Research in Higher Education\\\"
No items found

Which is where I hit my limits of my ability to figure out code. It's not very important but it's very frustrating to be so near and yet so far.

techczech’s picture

Title: Sorting/filtering by Journal Title » Sorting/filtering by Journal Title - success
Status: Active » Needs review

Turns out I was looking in the wrong place. I found this on the MySQL site http://dev.mysql.com/tech-resources/articles/full-text-revealed.html#boo... which suggested that the "s are a part of the query. So I changed the '%s' in the above code into '\"%s\"' and voila! It works exactly as I want it to. With the URLs in this format /biblio/journal/Journal%20Name.

I don't know if it warrants inclusion but it is a nice little feature.

catdevrandom’s picture

Status: Needs review » Closed (fixed)
drupalina’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Closed (fixed) » Active

Sorry to reopen this, but I think it is very relevant here.
I've just tested the link biblio/publisher/PublisherName it works. Splendid!
But since this is already working wouldn't it make more sense to go one extra step further and print (in normal biblio node listings) the Publisher name and Journal Name as links?

In case of Publisher the link would go to a view of all items published by that Publisher (sorted by year by default, but also sortable by Author and filterable by keywords).

In case of Journal name, it could link to the list of all journal articles published in that Journal hierarchically grouped by Year, Volume, Issue and pages. I think if this could be achieved, it would be pretty impressive and would make a lot of sense!

Liam Morland’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.