Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cosinnus-stream
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
global
Code
cosinnus-stream
Commits
2d0c7f45
Commit
2d0c7f45
authored
6 years ago
by
Sascha Narr
Browse files
Options
Downloads
Patches
Plain Diff
Fixed event sort key for streams
parent
28b1cba1
No related branches found
Branches containing commit
Tags
r18-12-11
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cosinnus_stream/mixins.py
+1
-1
1 addition, 1 deletion
cosinnus_stream/mixins.py
with
1 addition
and
1 deletion
cosinnus_stream/mixins.py
+
1
−
1
View file @
2d0c7f45
...
...
@@ -63,7 +63,7 @@ class StreamManagerMixin(object):
def
_get_stream_objectset
(
self
,
querysets
):
def
get_sort_key
(
item
):
return
item
[
1
].
sort_key
return
item
[
1
].
stream_sort_key
if
hasattr
(
item
[
1
],
'
stream_sort_key
'
)
else
item
[
1
].
sort_key
limit
=
30
count
=
0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment