~alecu/unity-scope-click/seq-inst-uninst-rtm

« back to all changes in this revision

Viewing changes to scope/clickstore/store-query.cpp

  • Committer: Alejandro J. Cura
  • Date: 2015-01-20 17:28:31 UTC
  • Revision ID: alecu@canonical.com-20150120172831-2ogp5rzpfz8p3lsa
Backport the fix for bug #1412541 to rtm: Store the version in the result

Show diffs side-by-side

added added

removed removed

Lines of Context:
305
305
            cur_price = pkg.price;
306
306
        }
307
307
        res["price"] = scopes::Variant(cur_price);
 
308
        res[click::Query::ResultKeys::VERSION] = pkg.version;
308
309
 
309
310
        if (cur_price > 0.00f) {
310
311
            if (!Configuration::get_purchases_enabled()) {