Skip to content

Commit

Permalink
update list sorting to default
Browse files Browse the repository at this point in the history
  • Loading branch information
akevalion committed Mar 29, 2022
1 parent c621814 commit a8935fd
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions Iceberg-TipUI/IceTipRepositoriesBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ IceTipRepositoriesBrowser >> openManagePackagesWindow [

{ #category : #private }
IceTipRepositoriesBrowser >> refresh [
repositoryList items: self sortedRepositories
repositoryList items: self model repositories
]

{ #category : #accessing }
Expand All @@ -187,19 +187,6 @@ IceTipRepositoriesBrowser >> repositoryModels [

]

{ #category : #private }
IceTipRepositoriesBrowser >> sortedRepositories [
^ self model repositories
sorted: [ :a :b |
| status1 status2 |
status1 := a entity isMissing asInteger.
status2 := b entity isMissing asInteger.
status1 = status2
ifTrue: [ a name < b name ]
ifFalse: [ status1 < status2 ]
]
]

{ #category : #initialization }
IceTipRepositoriesBrowser >> subscribeToAnnouncements [

Expand Down

0 comments on commit a8935fd

Please sign in to comment.