TableRow row;
zypp::PoolItem pi = *it;
+ // hide patterns with user visible flag not set (bnc #538152)
+ if (pi->kind() == zypp::ResKind::pattern)
+ {
+ Pattern::constPtr ptrn = asKind<Pattern>(pi.resolvable());
+ if (ptrn && !ptrn->userVisible())
+ continue;
+ }
+
// installed status
// patters
bool FillSearchTableSelectable::operator()(const zypp::ui::Selectable::constPtr & s) const
{
+ // hide patterns with user visible flag not set (bnc #538152)
+ if (s->kind() == zypp::ResKind::pattern)
+ {
+ Pattern::constPtr ptrn = s->candidateAsKind<Pattern>();
+ if (ptrn && !ptrn->userVisible())
+ return true;
+ }
+
TableRow row;
bool installed;
continue;
Pattern::constPtr pattern = asKind<Pattern>(it->resolvable());
+ // hide patterns with user visible flag not set (bnc #538152)
+ if (!pattern->userVisible())
+ continue;
TableRow tr;
tr << (it->isSatisfied() ? "i" : "");
" vendor=\"" << xml_encode(p.vendor()) << "\""
" summary=\"" << xml_encode(p.summary()) << "\""
" repo=\"" << xml_encode(p.repoInfo().alias()) << "\""
- " installed=\"" << (is_installed ? 1 : 0) << "\"";
+ " installed=\"" << (is_installed ? 1 : 0) << "\""
+ " uservisible=\"" << (p.userVisible() ? 1 : 0) << "\"";
if (p.description().empty())
str << "/>";
else