Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QP_JSONlink.php |
— | — | @@ -113,6 +113,9 @@ |
114 | 114 | if(array_key_exists('callback', $this->m_params)) { |
115 | 115 | $link->setParameter(htmlspecialchars($this->m_params['callback']),'callback'); |
116 | 116 | } |
| 117 | + if ($this->getSearchLabel(SMW_OUTPUT_WIKI) != '') { // used as a file name |
| 118 | + $link->setParameter($this->getSearchLabel(SMW_OUTPUT_WIKI),'searchlabel'); |
| 119 | + } |
117 | 120 | if(array_key_exists('limit', $this->m_params)) { |
118 | 121 | $link->setParameter(htmlspecialchars($this->m_params['limit']),'limit'); |
119 | 122 | } |