change-metrics / monocle

Monocle helps teams and individual to better organize daily duties and to detect anomalies in the way changes are produced and reviewed.
https://changemetrics.io
GNU Affero General Public License v3.0
372 stars 58 forks source link

Unknown sort field: score #992

Closed mochja closed 1 year ago

mochja commented 1 year ago

Hello,

seems that I am not able to sort changes by score:

image

image

api_1      | 172.23.0.1 - - [22/Nov/2022:18:51:42 +0000] "GET /xxx/changes?q=from%3Anow&f=&o=score%23D HTTP/1.1" 200 - "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.52"
api_1      | Unknown sort field: score
api_1      | CallStack (from HasCallStack):
api_1      |   error, called at src/Relude/Debug.hs:289:11 in relude-1.1.0.0-a058d5abe80e5247138fc84ab65b011c0cd6a3a8ca4f417c3ba950bd329d6a28:Relude.Debug
api_1      |   error, called at src/Monocle/Backend/Queries.hs:143:26 in monocle-0.1.7.0-db93ab84482f5f8fb2ac332302bc533a8a86678a97d69f45c108653ed1e659d8:Monocle.Backend.Queries

Version: 0.1.7.0

mochja commented 1 year ago

Duplicate #833