"Item Type" in "Advanced Search" needs more options

It seems that "Item Type" in "Advanced Search" should have some additional selections.

Item Type / does have / Attachments
Item Type / does not have / Attachments

Selecting "does have" or "does not have" automagically fills in "Attachments" and doesn't allow input in the third field of the filter condition.
  • For instance I entered some journal articles which I want to track down. But since I don't have a pdf file for the "Journal Article", there is no associated attachment.
  • edited May 23, 2013
    If I understand you correctly, you want to find journal articles that do not have attachments.

    Then, your advanced search could look like this:
    Item Type is not Attachment
    Item Type is Journal Article
    + Include parent and child items of matching items
  • edited May 23, 2013
    aurimas,

    THANK YOU! I'll try it.

    I lied a bit. I other references besides just "Journal Articles". So for second line I'd need a saved search that includes all the parent "Item Types".

    With my suggestion, you wouldn't need the massive "parent type" saved search. Pain to create, but you only have to create it once... :-)

    I'm having real trouble trying to get my head wrapped around "types" vs. parent/child relationships.

    ------------------------

    This is related to my moaning and groaning about use of "type"
    https://forums.zotero.org/discussion/29660/type-is-weirdly-overloaded/#Item_11

    -------------------------

    "Note" would still seem to be a problem. I have can have "parent" notes and child notes. I use "parent" loosely in that a note can't have children.

    Item type is Note

    Returns both parent and children types.
  • edited May 23, 2013
    You can do something like this:

    Item Type is Attachment
    + Include parent and child items (note that after you tick this box, you should hit Search or this option will not save. This looks like a bug)

    Save this search as "with attachments"

    Now if you do another advanced search,
    Saved Search is not with attachments
    Item Type is not Note

    You will get all Zotero Items that don't have attachments.

    You can do something similar with Notes I think
  • Ok, here goes...

    -----------------

    "Parent Note"
    Item Type / is / Note
    X Show only top-level items


    This gets only "parent notes".

    -----------------

    "Is a Parent Item Type"
    Item Type / is not / Attachment
    Saved Search / is not / Parent Note
    X Include parent and child items of all item types except parent notes.

    ------------------

    "Parents with children besides notes"
    Item Type / is not / Attachment
    Saved Search / is not / Is a Parent Item Type

    -----------------

    "Parents Items without reference attachment"
    Saved Search / is not / Parents with Children besides Notes
    X Show only top level items

    Which is what I have been after....

    -------------

    I'm trying to see if I can refactor this. I did it by brute force than any finesse of logic...
  • There are also a few weird things...

    I had added some Wikipedia links which had entered as "Encyclopedia Articles" for reference. Probably be better as "website" since you wouldn't really need a "snapshot".

    I have some "bare" PDF files which I dragged into Zotero. They show up in this list too.
  • Can you write down an English sentence describing exactly what you want to match?
    I had added some Wikipedia links which had entered as "Encyclopedia Articles" for reference. Probably be better as "website" since you wouldn't really need a "snapshot".
    Not sure what you mean here. The Snapshot attachment has nothing to do with item type.
  • aurimas,

    Let me take the easy thing first...

    By the Wikipedia reference I meant that for a "Web Page" "item type" that I wouldn't expect to have a child attachment. I just expect to go to the latest version of the "Web Page" when I clicked on it.

    If I used a particular Wikipedia page as a reference, I may want to make a "Snapshot" attachment. Then I could flip the "item type" to "Encyclopedia Article" to let me know that I have a snapshot. Weird I guess but it works in my mind...

    -------------------

    Instead of describing what I am trying to filter, let me give you an use case for what I am trying to do.

    As I read items that I have, or surf the web, I come across items which I want to lookup. So I add the entry for the item into Zotero even though I don't "have" the item itself.

    As it is now I'm trying to enter all of these items into a collection named "Wanted". But in my haste, I don't always add the item to the collection.

    So when I go to some library (some an hour away...) I can list all the articles which I want to lookup. Zotero is sweet for this since I can sort by Journal type. So if I digging into "Analytical Chemistry" database for Journal Articles, then I can see just all the articles in "Analytical Chemistry" that I want. I don't need confusion of showing articles which I already have.

    Make sense?

    -------------------

    PS -

    "Parent Note"
    Item Type / is / Note
    X Show only top-level items

    This gets only "parent notes".

    "Child Note"
    Item Type / is / Note
    Saved Search / is not / Parent Note

    This gets only child notes.
  • edited May 23, 2013
    for a "Web Page" "item type" that I wouldn't expect to have a child attachment. I just expect to go to the latest version of the "Web Page" when I clicked on it.
    I don't think I would agree that a Web Page item should not have a Snapshot attachment. Most of the reason for having the Snapshot feature is to be able to archive the current (at the time of saving) version of the website. Since, of all things that Zotero collects, Web Pages are the most dynamic, Snapshots are quite important.

    Now, the question of what should open if you double-click the Web Page item in the library is different. I think you need to keep in mind that Zotero is a citation and archiving tool more than it is a bookmark manager. So opening an archival copy of the Web Page should take precedence over going to the live page.

    Currently, you cannot choose to have Snapshots saved for one website but not another. The feature is either on or off. There has been some discussion about an intermediate dialog after clicking the URL bar icon that would allow you to choose what will be saved and what will not. No ETA on that though.
    As I read items that I have, or surf the web, I come across items which I want to lookup. So I add the entry for the item into Zotero even though I don't "have" the item itself.

    As it is now I'm trying to enter all of these items into a collection named "Wanted". But in my haste, I don't always add the item to the collection.
    So you either want to...

    show all items without attachments, which would almost obviate the need for the "Wanted" collection. (I showed you how to do that in the post above. Is something not working?)

    or...

    show all items without attachments that are not in the "Wanted" collection, which would be the same as above plus "Collection is not Wanted".

    In either case, your previous post is all about Notes. I'm not sure I understand how Notes play into the use case you describe above.
  • show all items without attachments, which would almost obviate the need for the "Wanted" collection. (I showed you how to do that in the post above. Is something not working?)
    Item Type is not Attachment
    Item Type is Journal Article
    + Include parent and child items of matching items
    I have more than just "Journal Articles" to lookup. May want to photocopy a couple of pages from a book, find some conference proceedings to download an electronic file (or yuck photocopy the article). Might be an audio recording that I want to copy.

    The other problem with your search is that I have some Journal Articles which have both a pdf file and a note. They get displayed.

    I could expand to all types by using a saved search with and the list of parent types.

    I've been so busy typing that I haven't played with refactoring/fixing this. Let me play with it some and I'll post again on this later...
    In either case, your previous post is all about Notes. I'm not sure I understand how Notes play into the use case you describe above.
    You had mentioned earlier that you didn't think it was possible to select just child notes. I showed how to do it using two saved searches. The parent items show up of course, but they are gray not black...
  • OK, in that case, how about:

    Item Type is Attachment
    Attachment File Type is PDF
    + Include parent and child...

    Save as "items with attachments"

    Saved Search is not "items with attachments"
    Item type is not Note
    + Show only top-level items
  • Currently, you cannot choose to have Snapshots saved for one website but not another. The feature is either on or off. There has been some discussion about an intermediate dialog after clicking the URL bar icon that would allow you to choose what will be saved and what will not. No ETA on that though.
    At least for Firefox, holding down "shift" while clicking "Create New Item..." toggles that behavior
Sign In or Register to comment.