← Back to team overview

harvest-dev team mailing list archive

[Bug 979091] Re: API: if _sortby is not passed, we get {"error": "local variable 'results' referenced before assignment"}

 

Try http://127.0.0.1:8000/services/opportunitylists/?_sortby=id vs
http://127.0.0.1:8000/services/opportunitylists/

-- 
You received this bug notification because you are a member of harvest-
dev, which is the registrant for harvest.
https://bugs.launchpad.net/bugs/979091

Title:
  API: if _sortby is not passed, we get {"error": "local variable
  'results' referenced before assignment"}

Status in Harvest Service:
  In Progress

Bug description:
  API: if _sortby is not passed, we get {"error": "local variable
  'results' referenced before assignment"}.

To manage notifications about this bug go to:
https://bugs.launchpad.net/harvest/+bug/979091/+subscriptions


References