Page MenuHomePhabricator

Can't turn off "further results" with format=embedded
Closed, ResolvedPublic

Description

Author: info

Description:
User CNIT commented that |searchlabel=| doesn't work to turn off further results link with format=embedded.

I verified, and it's a trivial fix, the test in SMW_QP_Embedded.php doesn't match that in SMW_QP_{List,Table,Template}

  • if ( $this->mInline && $res->hasFurtherResults() ) {

+ if ( $this->mInline && $res->hasFurtherResults() && $this->mSearchlabel !== '') {


Version: unspecified
Severity: normal
URL: http://sandbox.semantic-mediawiki.org/wiki/SMW_unit_test:Test_inline_query_embedding

Details

Reference
bz14430

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:09 PM
bzimport set Reference to bz14430.