Yaron Koren has submitted this change and it was merged.

Change subject: Added missing full-text search input
......................................................................


Added missing full-text search input

Change-Id: I997db1f9b896c1fce7c91378ac0b984f98ad974a
---
M drilldown/CargoSpecialDrilldown.php
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Yaron Koren: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/drilldown/CargoSpecialDrilldown.php 
b/drilldown/CargoSpecialDrilldown.php
index feb92ef..d57a1ef 100644
--- a/drilldown/CargoSpecialDrilldown.php
+++ b/drilldown/CargoSpecialDrilldown.php
@@ -1022,6 +1022,11 @@
                $cur_url = $this->makeBrowseURL( $this->tableName, 
$this->fullTextSearchTerm, $this->applied_filters );
                $cur_url .= ( strpos( $cur_url, '?' ) ) ? '&' : '?';
 
+               if ( in_array( 'fullText', $wgCargoPageDataColumns ) ) {
+                       $fullTextSearchInput = $this->printTextInput( 
'_search', 0, $this->fullTextSearchTerm );
+                       $filtersHTML .= self::printFilterLine( $this->msg( 
'cargo-drilldown-fulltext' )->text(), false, false, $fullTextSearchInput );
+               }
+
                foreach ( $this->all_filters as $f ) {
                        foreach ( $this->applied_filters as $af ) {
                                if ( $af->filter->name == $f->name ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/316811
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I997db1f9b896c1fce7c91378ac0b984f98ad974a
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Cargo
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to