[bisq-network/bisq] Secondary sort order in Market Offer Lists (#4168)

dmos62 notifications at github.com
Thu May 14 11:50:40 UTC 2020


@dmos62 commented on this pull request.



> @@ -333,7 +333,14 @@ private void updateChartData() {
         buildChartAndTableEntries(allSellOffers, OfferPayload.Direction.SELL, sellData, topSellOfferList);
     }
 
-    private Comparator<Offer> getComparator(boolean reversePrimarySortOrder) {
+    /**
+     * Returns a comparator to be used for Offers. Sorts primarily for price and
+     * secondarily for offer volume.
+     *
+     * @param reversePrimarySortOrder
+     * @return
+     */
+    private Comparator<Offer> getComparatorWithSecondarySortOrder(boolean reversePrimarySortOrder) {

Not requesting this change, since the whole method should be unnecessary.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4168#discussion_r425076689
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200514/4ad730c7/attachment.html>


More information about the bisq-github mailing list