{
try
{
- // search cache on ALL or UNINSTALLED by TYPE
+ // search cache on ALL or UNINSTALLED by TYPE
- _query.query( "%libzypp%", cache_cb );
+ _query.iterateResolvablesByKind( _options.kind(), cache_cb );
}
catch ( const Exception & excpt_r )
{
{
// search cache on ALL or UNINSTALLED by EXACT NAME
- _query.queryByName( _qstrings[0], 0, cache_cb );
+ _query.iterateResolvablesByName( _qstrings[0], 0, cache_cb );
}
catch ( const Exception & excpt_r )
{
{
// search cache on ALL or UNINSTALLED by WILD NAME
- _query.queryByName( _qstrings[0], 3, cache_cb );
+ _query.iterateResolvablesByName( _qstrings[0], 3, cache_cb );
}
catch ( const Exception & excpt_r )
{
// add other fields to the result table
row << alias
// TODO what about rug's Bundle?
- << "kind" // FIXME: (gSettings.is_rug_compatible ? "" : res->kind().asString())
+ << (gSettings.is_rug_compatible ? "" : res->kind.asString())
<< res->name
<< res->edition.asString()
<< res->arch.asString();