Bug 355395

Summary: Advanced search on metadata, creation date, show wrong items
Product: [Applications] krecipes Reporter: Freek de Kruijf <freekdekruijf>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 2.2
Attachments: screendump of Search -> Advanced -> Meta Data
Screendump of Meta Data pop-up

Description Freek de Kruijf 2015-11-15 21:34:42 UTC
Search -> Advanced -> Metadata -> Created one gets a calender and an item list with the items:
Today
Tomorrow
Next Week
Next Month
This is wrong, a creation date cannot be in the future, so it should be:
Today
Yesterday
Last Week
Last Month

Reproducible: Always
Comment 1 Freek de Kruijf 2015-11-15 21:38:33 UTC
Created attachment 95521 [details]
screendump of Search -> Advanced -> Meta Data

On this screen click on position of the arrow. The next pop-up will appear.
Comment 2 Freek de Kruijf 2015-11-15 21:40:05 UTC
Created attachment 95522 [details]
Screendump of Meta Data pop-up

This pop-up shows the wrong items, which should be items in past.
Comment 3 José Manuel Santamaría Lema 2016-03-01 14:54:47 UTC
Git commit 18392613ae3dac914c27c35833e09ec1fdc9ab94 by José Manuel Santamaría Lema.
Committed on 01/03/2016 at 14:53.
Pushed by joselema into branch 'master'.

Suggest only dates in the past in the date picker popup.
FIXED-IN: 2.2

M  +13   -10   src/widgets/kdatepickerpopup.cpp
M  +8    -5    src/widgets/kdatepickerpopup.h

http://commits.kde.org/krecipes/18392613ae3dac914c27c35833e09ec1fdc9ab94