PackageKit: Fix connection for update details

Otherwise, the front-end requests for update details are not processed when they should.

Instead, these transactions were attached to requests for package details. This seems an unintended typo.

In practice, this solves two issues in the interactive Updates page for packagekit:

  • more responsive to show the changelog info when expanding an entry
  • the package details on the background are updated faster, including versions involved, since there are less unnecessary transactions

BUG: 434936
BUG: 421293
FIXED-IN: 6.4

BEFORE(*)

I stopped the recording here. It took 6 more minutes to show both the from-to versions, and the changelog

AFTER

updates-before_part

updates-after

Tested on a Kubuntu system recently upgraded to the 25.04 develop version (with lots of to-be-upgraded packages for testing purposes). I think this fix shouldn't affect full System Upgrades / offline upgrades info: when requesting update details for a heap of packages, all of them should still be processed into one single transaction.

Merge request reports

Loading