USStateDept / State-TalentMAP

A comprehensive research, bidding, and matching system to match Foreign Service employees with the right skills to available posts and positions. API Layer - https://github.com/USStateDept/State-TalentMAP-API
Other
31 stars 16 forks source link

Defect - Recently Posted Positions View #1880

Open LisaReddy opened 6 years ago

LisaReddy commented 6 years ago
from the home page, it directs you to the search page View all steps: 1. Go to Home page 2. Click the Recently Posted View more > 3. It directs you to the home page view all positions. These are not the most recentlly posted positions. they are also being displayed as Posted: Unknown Screenshots: ![recently_posted_1](https://user-images.githubusercontent.com/37226508/39647419-77aef694-4fce-11e8-85d3-0796135fb060.jpg) ![recently_posted_2](https://user-images.githubusercontent.com/37226508/39647450-901f1ede-4fce-11e8-9bf5-1bd21724f769.jpg)
burgwyn commented 6 years ago

@LisaReddy - the linking behavior is by design

burgwyn commented 6 years ago

@mjoyce91 - how do we handle null posted date?

mjoyce91 commented 6 years ago

@burgwyn - We display "Unknown"

burgwyn commented 6 years ago

Ok, the request to the API is /api/v1/position/?limit=5&ordering=-posted_date&page=1 and the null values are at the top. @afrasier - Can we filter those out?

afrasier commented 6 years ago

add current_assignment__estimated_end_date__isnull=False to your query.

mjoyce91 commented 6 years ago

Would that give us different sets of results when comparing the query between FSBid and TalentMAP?

afrasier commented 6 years ago

Unsure. We can move the nulls to the bottom, but that's about a day's lift