LogEventsList: Use GET in HTMLForm
authorPrateek Saxena <prtksxna@gmail.com>
Wed, 18 Jul 2018 05:08:03 +0000 (10:38 +0530)
committerPrateek Saxena <prtksxna@gmail.com>
Wed, 18 Jul 2018 05:09:33 +0000 (10:39 +0530)
I missed this during conversion.

Follows-up on Iba3c6aa5ac40dcdee0792c2d045b238b02d76521.

Bug: T199856
Change-Id: If3f228425b217c9ccdb7d32e0bc899647797ed70

includes/logging/LogEventsList.php

index a7620fe..aecbce9 100644 (file)
@@ -173,6 +173,7 @@ class LogEventsList extends ContextSource {
                $htmlForm = new HTMLForm( $formDescriptor, $this->getContext() );
                $htmlForm
                        ->setSubmitText( $this->msg( 'logeventslist-submit' )->text() )
+                       ->setMethod( 'get' )
                        ->setWrapperLegendMsg( 'log' );
 
                // TODO This will should be removed at some point. See T199495.