jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/373857 )
Change subject: Correct api parameter used on search page
......................................................................
Correct api parameter used on search page
Filtering on no images is srwithoutimage (singular).
Bug: T174125
Change-Id: Ied5169c33417088ee4a64a0c94e07fa1350f27c0
---
M api/searchPage.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jean-Frédéric: Looks good to me, approved
jenkins-bot: Verified
diff --git a/api/searchPage.php b/api/searchPage.php
index 312a453..39d96de 100644
--- a/api/searchPage.php
+++ b/api/searchPage.php
@@ -82,7 +82,7 @@
$result[] = '<td><label>' . _i18n( 'search-table-tr-images' ) .
'</label></td>';
$result[] = '<td><!-- Not search images --></td>';
$result[] = '<td>';
- $result[] = '<input type="checkbox" name="srwithoutimages"
id="srwithoutimages" value="1"><label for="srwithoutimages">' . _i18n(
'search-table-checkbox-only-images' ) . '</label>';
+ $result[] = '<input type="checkbox" name="srwithoutimage"
id="srwithoutimage" value="1"><label for="srwithoutimage">' . _i18n(
'search-table-checkbox-only-images' ) . '</label>';
// $result = array_merge($result, $this->getImagesSelect());
$result[] = '</td>';
$result[] = '</tr>';
--
To view, visit https://gerrit.wikimedia.org/r/373857
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ied5169c33417088ee4a64a0c94e07fa1350f27c0
Gerrit-PatchSet: 2
Gerrit-Project: labs/tools/heritage
Gerrit-Branch: master
Gerrit-Owner: Lokal Profil <[email protected]>
Gerrit-Reviewer: Jean-Frédéric <[email protected]>
Gerrit-Reviewer: Multichill <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits