find_votes and list_votes fixes
SQL function get_account
renamed find_account_id
to follow naming scheme.
Vote related views/types/functions extended by id
since database_api
requires it.
New SQL function to cover find_votes
functionality.
[Fix]: Neither voter nor post is mandatory in list_votes
calls.
[Fix]: fixed internal _get_post_id
in bridge_api
find_votes_impl
no longer requires full context, just what it actually uses: db
; it also no longer checks passed arguments, only its official API version does.
list_votes_impl
removed since only its official version is needed
[Fix]: Official API find_votes
/list_votes
now properly pack response in dictionary with 'votes'
list
Merge request reports
Activity
enabled an automatic merge when the pipeline for 76d51a4c succeeds
added 1 commit
- bf9dc8f6 - [ABW]: used OrderedDict for votes to stabilize order
added 1 commit
- 1f96c84f - [ABW]: failing tests temporarily marked with xfail
added 1 commit
- 5eb5baae - [ABW]: fixed order of votes by adding local ordering during insert query
added 5 commits
-
5eb5baae...84ace09f - 4 commits from branch
develop
- 4fac1164 - [ABW]: merge with latest develop; also removed TABs from schema.py
-
5eb5baae...84ace09f - 4 commits from branch
added 1 commit
- 9c816f5d - [ABW]: CLRF -> LF in two files; also tests rebound to master
added 1 commit
- 09ee9c4e - [ABW]: fixed bug introduced during merge (change in find_votes_impl)
mentioned in commit a8fc6ee9