diff --git a/boards/locale/ru/LC_MESSAGES/django.mo b/boards/locale/ru/LC_MESSAGES/django.mo index 02ee1bbd6cebece0ea3ed9c996cf2f3e7db89638..fc8dce598425ae07942a06aab92599125213863e GIT binary patch literal 8969 zc$~#pYj9mv72XI6q)8JXX+vY%onnCs_mZ?c%576fY1&5eA`hTEEGN0A$)Pv*T+X>S zG{TQQsDSAZ22d;Sf`k45O+(W(4^mM&K1Q8$f5;z3#Su}|fk8)y8U5k6*4p=x%G?AC%-!XtgkBk?#A_5T(L8iqJinpDE^h5tJGP*^MEzLCBSvSZ9omY z5BNFY)4+3puLI8q{sj1G;4guTfWI~P0q|_#KY%3S%p#@msEUC2Q{_c6zY=&J@DgAJ z@Y*8LqqRunbQTG}JBviVW9A<*__(1v3|t93V)(ueEC&7ndMZ$L# zZYzLc^WKbG32+B+F|c=$=sN&h2Ha=po?ayOe0!1bA2oE}2d)PG40s9fuZzU~s$!vE zRV@532Yw0|DHc2GiiPjyVxeyV_5r)h{7kX%|3R_X_jAMN&0_KYJLdh5#iGwghVGma znJ+7m@g*g~=i(CKTU#RXt}YS%>Pp0)+kif>twi$WjS}Jan-YopduH7~foD>D7mL5n zUMzf<05_7|=KWUS#T3WIV&?;kMXyJJmB6np7Wv;b;}eU;e<#iQ-vh4){&}(ZEmSJ> zHKn3Yq*UZJ10%q%l!|_*O2wX^8v0)t{B^1DeXmsVa# zv#m_{-e%A$6Fz-qVpl(K{0yZA&3G*qIpkl1&jY)u4lYpYW}*jHk$*3cym=eA3iz3F z(PvG$#BEc#=-E;({<^(f@;zBD`TPWM3Gh4Rvi?-L`0o$pVnRn`nn47=PebI z4~HwnPcK$T9A5@r1)MVPA67{IlaMPZuE6z_AHYk24=)jYM}hUgA1)EUox2n^P<=0z z`n?Hw0o4=m3W}3?p9Ee+dA(HX^e;=LF3Vx;wZL`25c#W8qaWY?l&sM-)~il zzHe8GpFXIRxSa!|I}n$u3+3HiCVK5(CUh?^6aSxDCVu{tng7U)ud0&q?N#E>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$n?E)?8e)!cj91|XyY%^R;0djCh^N-n??91e*oc>N^vUrSbheFcwwInsx z9Ey {% block metapanel %}{% endblock %} [{% trans 'Admin' %}] + [{% trans 'New threads' %}] {% with ppd=posts_per_day|floatformat:2 %} {% blocktrans %}Speed: {{ ppd }} posts per day{% endblocktrans %} {% endwith %} diff --git a/boards/views/all_threads.py b/boards/views/all_threads.py --- a/boards/views/all_threads.py +++ b/boards/views/all_threads.py @@ -52,7 +52,16 @@ class AllThreadsView(PostMixin, BaseBoar form = ThreadForm(error_class=PlainErrorList) self.settings_manager = get_settings_manager(request) - paginator = get_paginator(self.get_threads().order_by('-bump_time'), + + threads = self.get_threads() + + order = request.GET.get('order', 'bump') + if order == 'bump': + threads = threads.order_by('-bump_time') + else: + threads = threads.filter(multi_replies__opening=True).order_by('-multi_replies__pub_time') + + paginator = get_paginator(threads, settings.get_int('View', 'ThreadsPerPage')) paginator.current_page = int(page)