Skip to main content
johnrellis
Legend
July 25, 2011

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

  • July 25, 2011
  • 14 replies
  • 868 views

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 has been closed for replies.

14 replies

johnrellis
Legend
October 30, 2014
Got it. I can use that in Any Filter to speed up "in the last n hours". Thanks.
areohbee
Legend
October 29, 2014
I leave value_units = "days" and set value = .0417 to represent one hour - works for me (edit-time).
johnrellis
Legend
October 29, 2014
"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.
areohbee
Legend
October 29, 2014
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?
Participating Frequently
December 11, 2012
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
johnrellis
Legend
December 11, 2012
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.
Participating Frequently
December 10, 2012
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
johnrellis
Legend
January 11, 2012
This doesn't appear to be fixed in LR 4 beta.
Inspiring
August 17, 2011
Thanks Ben, I appreciate your answer very much. Keep up the good work! 🙂
Participating Frequently
August 17, 2011
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