Bug #10838
Date range in search results is empty if display date was not filled
Status: | Verified | Start date: | 01/30/2017 | |
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | CSS/HTML | |||
Target version: | Release 2.4.0 | |||
Google Code Legacy ID: | Tested version: | 2.3, 2.4 | ||
Sponsored: | Yes | Requires documentation: | No |
Description
Date range will currently show in the search results if there is a date associated with the records. However, it needs to be the display date, not just the start/end dates. In some cases, such as data migrations, it's possible that start/end date fields will be populated, but not the display date - and this will currently lead to no dates being displayed in search and browse result.
This enhancement will add some fallback logic to use the start/end date fields if no display date is available, for use in the results stubs included in search and browse results pages.
History
#2 Updated by Jesús García Crespo over 5 years ago
- Status changed from New to Code Review
- Assignee changed from Jesús García Crespo to Steve Breker
Pull request: https://github.com/artefactual/atom/pull/507
The following screenshot shows search results with the different permutations of display date, start date and end date left filled or blank. Only the first event in the database is used.
- Display date is filled
- Display date is blank
- Start date is filled
- End date is filled
- No events
- Display date is blank
- Start date is filled
- End date is blank
- Display date is blank
- Start date is blank
- End date is filled
#3 Updated by Steve Breker over 5 years ago
- Status changed from Code Review to Feedback
- Assignee changed from Steve Breker to Jesús García Crespo
PR looks good.
#4 Updated by Jesús García Crespo over 5 years ago
- Status changed from Feedback to QA/Review
- Assignee changed from Jesús García Crespo to Dan Gillean
Merged.
#5 Updated by Dan Gillean over 5 years ago
- Description updated (diff)
- Status changed from QA/Review to Feedback
- Assignee changed from Dan Gillean to Jesús García Crespo
Some dates have disappeared from the display as a result of these changes. JGC to investigate further.
#6 Updated by Jesús García Crespo over 5 years ago
- Status changed from Feedback to QA/Review
- Assignee changed from Jesús García Crespo to Dan Gillean
New PR https://github.com/artefactual/atom/pull/510 merged.
#7 Updated by Dan Gillean almost 5 years ago
- Assignee deleted (
Dan Gillean)
#8 Updated by Kelly Stewart almost 5 years ago
- Status changed from QA/Review to Verified