Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update undeployed to work #157

Merged
merged 1 commit into from
Nov 15, 2017
Merged

fix: Update undeployed to work #157

merged 1 commit into from
Nov 15, 2017

Conversation

clburlison
Copy link
Contributor

Should filter using less than or equal to find dates in the past not
greater than or equal which would be dates in the future.

This also corrects the machine call to use Machine (no 's')


I've tested this using the INACTIVE_UNDEPLOYED = 90 setting with a machine that had the checkin date modified in the database. After running python manage.py search_maintenance the machine properly has it's object moved to the undeployed status.

With DEPLOYED_ON_CHECKIN = True enabled in the settings, I then had the machine checkin and Sal properly removed it from the undeployed status.

cc: @erikng

Should filter using less than or equal to find dates in the past not
greater than or equal which would be dates in the future.

This also corrects the machine call to use `Machine` (no 's')
@grahamgilbert
Copy link
Member

Me type good.

@grahamgilbert grahamgilbert merged commit badbbd3 into salopensource:master Nov 15, 2017
@clburlison clburlison deleted the fix-undeployed branch November 15, 2017 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants