Welcome to the Birder's Diary Forum for Support And General Questions
Use the Support forum for all questions or issues.
Use the Wish List forum to leave your ideas for improving Birder’s Diary.
[Solved] Query for parent location but not the children
When you do a report, or pull up a list of sightings, you specify the location. The results you get are for that location AND all the children of that location. Is there a way to not get the children, to get only the sightings that have that exact location? I would like to see a report of birds seen when out in the neighborhood, as opposed to birds seen when I was at home (which is a child of the neighborhood and therefore muddies up the report I get.)
No and Yes. The BD concept of Location is containment. If you have seen birds in your neighborhood, and your home is in your neighborhood, then the birds you have seen at your home should count as birds seen in your neighborhood.
If you want a different definition, then do the following:
- Make a new location as a child of your current Neighborhood location. Call it Neighborhood Minus Home perhaps.
- Pull up your existing sightings for Neighborhood. This will include sightings attached to Neighborhood, Home, and any other locations under Neighborhood. In the View/Edit window, easy to then click on the column header for Location and sort by location name.
- Now, with your sightings for Neighborhood ONLY selected, do a Mass Edit and reassign them to the new location.
This solves your problem. Now when you want to report only on Neighborhood Minus Home use that new location. When you want a true report of your neighborhood, including your home, use the old Neighborhood location as it is an ancestor to both your home and your new Neighborhood Minus Home location. So it will include all these sightings.
Be sure to assign your sightings to the correct locations when adding sightings.
I was hoping for a simple solution like a switch that would tell it to ignore children locations. That would work for all locations without the machinations of manipulating the location tree.
Short of that, I think I would just take Home out of the neighborhood location. Even though it is technically part of the neighborhood, I don't want to see home in a neighborhood query.