Skip to main content
johnrellis
Legend
Jul 25, 2011 11:37 PM UTC
Released

P: "Capture Date is in the last n hours" doesn't work

In Smart Collections, the rule "Capture Date is in the last n hours" doesn't work. It appears to behave as "Capture Date is today". Here's a screenshot:


Image is not available



LR 3.4, Windows 7

This topic is closed to new replies. Start a new post to keep the conversation going.

14 replies

johnrellis
Legend
Oct 30, 2014 12:55 AM UTC
Got it. I can use that in Any Filter to speed up "in the last n hours". Thanks.
Translate
areohbee
Legend
Oct 29, 2014 9:46 PM UTC
I leave value_units = "days" and set value = .0417 to represent one hour - works for me (edit-time).
Translate
johnrellis
Legend
Oct 29, 2014 2:54 AM UTC
"Hours" is removed from the smart-collection user interface. But I tried editing an exported .lrsmcol file to contain:


value = {
{
criteria = "captureTime",
operation = "inLast",
value = 1.0,
value2 = 1.0,
value_units = "hours",
},
combine = "intersect",
},

and then re-importing it, but it didn't seem to work on either Windows or Mac.
Translate
areohbee
Legend
Oct 29, 2014 1:49 AM UTC
I know edit-date works to nearest hour (or minute) just by editing smart collection rule and changing integer value to floating point (decimal).

Does that not work for capture date as well?
Translate
B+Warde
Adobe Employee
Adobe Employee
Dec 11, 2012 8:12 PM UTC
Hi John,

What, you don't remember exactly what you were doing a year ago? Sheesh. 😉 Thanks for your comment. Given that this appears to be a little-used feature with an available substitute, I think we'll probably remove the misbehaving feature, rather than invest the time to work through the performance implications of continuously-updating search criteria.

Thanks,
Ben
Translate
johnrellis
Legend
Dec 11, 2012 3:57 AM UTC
Ben,

I can't remember the details of what I was trying to do when I tripped over that. The suggested workaround would probably be adequate for what I do.

Perhaps in a tethered workflow, the photographer would want to have a smart collection showing the last 2 hours, to isolate exactly the photos in the most recent tethered session?

Thanks.
Translate
B+Warde
Adobe Employee
Adobe Employee
Dec 10, 2012 11:14 PM UTC
Hi John, you still out there? An engineer has looked at this bug and has made the following comment:

"I advocate removing this criteria altogether. In my opinion, this feature is useless unless we retrofit search code to consistently autoupdate. Not sure if that's worth the effort since sort by date descending is a work around."

I'm inclined to agree, but I wanted to see what you thought. Is there a specific workflow you have in mind that wouldn't be satisfied by a workaround such as a "last day" smart collection, sorted by capture time descending?

Thanks,
Ben
Translate
johnrellis
Legend
Jan 11, 2012 7:35 PM UTC
This doesn't appear to be fixed in LR 4 beta.
Translate
Inspiring
Aug 17, 2011 11:40 PM UTC
Thanks Ben, I appreciate your answer very much. Keep up the good work! 🙂
Translate
B+Warde
Adobe Employee
Adobe Employee
Aug 17, 2011 6:20 PM UTC
In the case of this particular bug, I was actually mistaken, as I realized shortly after writing my previous post. The behavior is the same on Mac and Win. Certainly there are sometimes bugs that occur just on one platform and not on the other, but not being an engineer, I'm not in a good position to speak to the extent of code sharing, or the pros and cons of Lua. :-)

-Ben
Translate