Skip to content

Commit

Permalink
Merge pull request #1581 from akevalion/dev-2.0
Browse files Browse the repository at this point in the history
Revert sorting list
  • Loading branch information
estebanlm authored Mar 30, 2022
2 parents c621814 + a8935fd commit 4ad930e
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 4ad930e

Please sign in to comment.