{"action":"closed","issue":{"url":"https://api.github.com/repos/SETI/pds-opus/issues/411","repository_url":"https://api.github.com/repos/SETI/pds-opus","labels_url":"https://api.github.com/repos/SETI/pds-opus/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/SETI/pds-opus/issues/411/comments","events_url":"https://api.github.com/repos/SETI/pds-opus/issues/411/events","html_url":"https://github.com/SETI/pds-opus/issues/411","id":347715938,"node_id":"MDU6SXNzdWUzNDc3MTU5Mzg=","number":411,"title":"Gallery table view fails when no sort order","user":{"login":"rfrenchseti","id":6488118,"node_id":"MDQ6VXNlcjY0ODgxMTg=","avatar_url":"https://avatars3.githubusercontent.com/u/6488118?v=4","gravatar_id":"","url":"https://api.github.com/users/rfrenchseti","html_url":"https://github.com/rfrenchseti","followers_url":"https://api.github.com/users/rfrenchseti/followers","following_url":"https://api.github.com/users/rfrenchseti/following{/other_user}","gists_url":"https://api.github.com/users/rfrenchseti/gists{/gist_id}","starred_url":"https://api.github.com/users/rfrenchseti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfrenchseti/subscriptions","organizations_url":"https://api.github.com/users/rfrenchseti/orgs","repos_url":"https://api.github.com/users/rfrenchseti/repos","events_url":"https://api.github.com/users/rfrenchseti/events{/privacy}","received_events_url":"https://api.github.com/users/rfrenchseti/received_events","type":"User","site_admin":false},"labels":[{"id":470953844,"node_id":"MDU6TGFiZWw0NzA5NTM4NDQ=","url":"https://api.github.com/repos/SETI/pds-opus/labels/A-Bug","name":"A-Bug","color":"F93822","default":false},{"id":911409513,"node_id":"MDU6TGFiZWw5MTE0MDk1MTM=","url":"https://api.github.com/repos/SETI/pds-opus/labels/B-OPUS%20Django","name":"B-OPUS Django","color":"42c046","default":false},{"id":827915357,"node_id":"MDU6TGFiZWw4Mjc5MTUzNTc=","url":"https://api.github.com/repos/SETI/pds-opus/labels/Effort%203%20Easy","name":"Effort 3 Easy","color":"d4c5f9","default":false},{"id":827913504,"node_id":"MDU6TGFiZWw4Mjc5MTM1MDQ=","url":"https://api.github.com/repos/SETI/pds-opus/labels/Priority%203","name":"Priority 3","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"dstopp","id":32688456,"node_id":"MDQ6VXNlcjMyNjg4NDU2","avatar_url":"https://avatars3.githubusercontent.com/u/32688456?v=4","gravatar_id":"","url":"https://api.github.com/users/dstopp","html_url":"https://github.com/dstopp","followers_url":"https://api.github.com/users/dstopp/followers","following_url":"https://api.github.com/users/dstopp/following{/other_user}","gists_url":"https://api.github.com/users/dstopp/gists{/gist_id}","starred_url":"https://api.github.com/users/dstopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstopp/subscriptions","organizations_url":"https://api.github.com/users/dstopp/orgs","repos_url":"https://api.github.com/users/dstopp/repos","events_url":"https://api.github.com/users/dstopp/events{/privacy}","received_events_url":"https://api.github.com/users/dstopp/received_events","type":"User","site_admin":false},"assignees":[{"login":"dstopp","id":32688456,"node_id":"MDQ6VXNlcjMyNjg4NDU2","avatar_url":"https://avatars3.githubusercontent.com/u/32688456?v=4","gravatar_id":"","url":"https://api.github.com/users/dstopp","html_url":"https://github.com/dstopp","followers_url":"https://api.github.com/users/dstopp/followers","following_url":"https://api.github.com/users/dstopp/following{/other_user}","gists_url":"https://api.github.com/users/dstopp/gists{/gist_id}","starred_url":"https://api.github.com/users/dstopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstopp/subscriptions","organizations_url":"https://api.github.com/users/dstopp/orgs","repos_url":"https://api.github.com/users/dstopp/repos","events_url":"https://api.github.com/users/dstopp/events{/privacy}","received_events_url":"https://api.github.com/users/dstopp/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/SETI/pds-opus/milestones/4","html_url":"https://github.com/SETI/pds-opus/milestone/4","labels_url":"https://api.github.com/repos/SETI/pds-opus/milestones/4/labels","id":3566454,"node_id":"MDk6TWlsZXN0b25lMzU2NjQ1NA==","number":4,"title":"Redo Table View","description":"The Table View is full of bugs and needs to be redone.","creator":{"login":"rfrenchseti","id":6488118,"node_id":"MDQ6VXNlcjY0ODgxMTg=","avatar_url":"https://avatars3.githubusercontent.com/u/6488118?v=4","gravatar_id":"","url":"https://api.github.com/users/rfrenchseti","html_url":"https://github.com/rfrenchseti","followers_url":"https://api.github.com/users/rfrenchseti/followers","following_url":"https://api.github.com/users/rfrenchseti/following{/other_user}","gists_url":"https://api.github.com/users/rfrenchseti/gists{/gist_id}","starred_url":"https://api.github.com/users/rfrenchseti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfrenchseti/subscriptions","organizations_url":"https://api.github.com/users/rfrenchseti/orgs","repos_url":"https://api.github.com/users/rfrenchseti/repos","events_url":"https://api.github.com/users/rfrenchseti/events{/privacy}","received_events_url":"https://api.github.com/users/rfrenchseti/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2018-08-13T17:57:35Z","updated_at":"2018-08-31T01:12:54Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-08-05T17:23:54Z","updated_at":"2018-08-31T01:12:54Z","closed_at":"2018-08-31T01:12:54Z","author_association":"COLLABORATOR","body":"Click on the table headers until there is no sort order. We get:\r\n\r\n\r\n[Sun Aug 05 10:22:21.817525 2018] [wsgi:error] [pid 23524:tid 140401235764992] Traceback (most recent call last):\r\n[Sun Aug 05 10:22:21.817527 2018] [wsgi:error] [pid 23524:tid 140401235764992]   File \"/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py\", line 41, in inner\r\n[Sun Aug 05 10:22:21.817528 2018] [wsgi:error] [pid 23524:tid 140401235764992]     response = get_response(request)\r\n[Sun Aug 05 10:22:21.817530 2018] [wsgi:error] [pid 23524:tid 140401235764992]   File \"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py\", line 249, in _legacy_get_response\r\n[Sun Aug 05 10:22:21.817531 2018] [wsgi:error] [pid 23524:tid 140401235764992]     response = self._get_response(request)\r\n[Sun Aug 05 10:22:21.817533 2018] [wsgi:error] [pid 23524:tid 140401235764992]   File \"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py\", line 187, in _get_response\r\n[Sun Aug 05 10:22:21.817534 2018] [wsgi:error] [pid 23524:tid 140401235764992]     response = self.process_exception_by_middleware(e, request)\r\n[Sun Aug 05 10:22:21.817535 2018] [wsgi:error] [pid 23524:tid 140401235764992]   File \"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py\", line 185, in _get_response\r\n[Sun Aug 05 10:22:21.817537 2018] [wsgi:error] [pid 23524:tid 140401235764992]     response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n[Sun Aug 05 10:22:21.817538 2018] [wsgi:error] [pid 23524:tid 140401235764992]   File \"/rdsk/www/django/src/pds-opus/opus/application/apps/results/views.py\", line 72, in api_get_data\r\n[Sun Aug 05 10:22:21.817540 2018] [wsgi:error] [pid 23524:tid 140401235764992]     ret = get_data(request, fmt)\r\n[Sun Aug 05 10:22:21.817541 2018] [wsgi:error] [pid 23524:tid 140401235764992]   File \"/rdsk/www/django/src/pds-opus/opus/application/apps/results/views.py\", line 497, in get_data\r\n[Sun Aug 05 10:22:21.817542 2018] [wsgi:error] [pid 23524:tid 140401235764992]     (page_no, limit, page, opus_ids, ring_obs_ids, order) = get_page(request)\r\n[Sun Aug 05 10:22:21.817543 2018] [wsgi:error] [pid 23524:tid 140401235764992]   File \"/rdsk/www/django/src/pds-opus/opus/application/apps/results/views.py\", line 737, in get_page\r\n[Sun Aug 05 10:22:21.817545 2018] [wsgi:error] [pid 23524:tid 140401235764992]     ('-' if descending else '') + order)\r\n[Sun Aug 05 10:22:21.817546 2018] [wsgi:error] [pid 23524:tid 140401235764992] UnboundLocalError: local variable 'descending' referenced before assignment\r\n\r\n"}}
{"actor":{"display_login":"rfrenchseti"}}