"limit" -> "rows"

[?]
Aug 28, 2013, 9:02 AM
M4TBFHHJNJJZEK4IVHOZJI4R4QBEIJKFYSYPB57W4L23I5FJ6SCQC

Dependencies

  • [2] J3RYO2CU Remove the jobs status page
  • [3] QTC3SYBM Jobset page: Load the jobs and status tabs on demand
  • [4] LZVO64YG Merge in the first bits of the API work
  • [5] 6QRHXIM3 * Speed up the jobset index page. Especially the query to get the
  • [*] 3HZY24CX * Make jobsets viewable under

Change contents

  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 53
    [3.174][3.174:293]()
    ($c->stash->{latestEval}) = $c->stash->{jobset}->jobsetevals->search({}, { limit => 1, order_by => ["id desc"] });
    [3.174]
    [3.7208]
    ($c->stash->{latestEval}) = $c->stash->{jobset}->jobsetevals->search({}, { rows => 1, order_by => ["id desc"] });
  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 155
    [2.63][2.63:143]()
    { hasnewbuilds => 1}, { limit => 1, order_by => ["id desc"] })->single;
    [2.63]
    [3.575]
    { hasnewbuilds => 1 }, { rows => 1, order_by => ["id desc"] })->single;