Opened 4 years ago

Last modified 4 years ago

#2632 addressed enhancement

Date Range Correction Needed for Seasonal Inventory Calculations

Reported by: Martin Reisinger Owned by: dbmulg
Priority: medium Milestone: Server 2.3.2
Component: Public Website 2 Version: N/A
Severity: Keywords: interface, seasonal
Cc: Database Engine: N/A
Operating System: N/A

Description (last modified by Martin Reisinger)

The > and < were the operators used to compare the starting and ending dates in the date range calculations for the seasonal inventory, impacting both ends of the date range. Most users and the genebank staff will assume the starting and ending dates are included.

Change the operators to be inclusive: >= and <=

There are multiple components using this comparison logic which need to be sorted out and fixed.

Attachments (1)

imps_calc_2022oct01.jpg​ (294.4 KB ) - added by Martin Reisinger 4 years ago.

Download all attachments as: .zip

Change History (6)

by Martin Reisinger, 4 years ago

Attachment: imps_calc_2022oct01.jpg​ added

comment:1 by Kay Kittell, 4 years ago

Owner: changed from Kay Kittell to dbmulg
Status: new → assigned

comment:2 by dbmulg, 4 years ago

Status: assigned → addressed

changed multiple related web dataviews.

comment:3 by Kurt Endress, 4 years ago

Dataviews loaded on npgsDev for testing:

web_accessiondetail_available_2_20221007
web_accessiondetail_observation_phenotype_2_20221007
web_inventory_available_season_20221007
web_search_overview_2_20221007
web_search_overview_noimages_2_20221007

comment:4 by Kurt Endress, 4 years ago

Milestone: → Server 2.3.2

comment:5 by Martin Reisinger, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.