projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
relay: set invisible to true
[akkoma]
/
lib
/
pleroma
/
pagination.ex
diff --git
a/lib/pleroma/pagination.ex
b/lib/pleroma/pagination.ex
index b55379c4a96c767978b57c894fd237030b693d6d..9d279fba7939f12256d57cf41261f0e506fba562 100644
(file)
--- a/
lib/pleroma/pagination.ex
+++ b/
lib/pleroma/pagination.ex
@@
-64,6
+64,7
@@
defmodule Pleroma.Pagination do
def paginate(query, options, :offset) do
query
def paginate(query, options, :offset) do
query
+ |> restrict(:order, options)
|> restrict(:offset, options)
|> restrict(:limit, options)
end
|> restrict(:offset, options)
|> restrict(:limit, options)
end