Project

General

Profile

Actions

Bug #1607

closed

REST API calls /hosts/:id/puppetclasses fails with postgres

Added by Florent Castelli over 12 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Calling /hosts/:id:puppetclasses fails with postgres.
The SQL request has an ORDER BY clause on a field not selected.

Suggested fix is to remove the default_scope in app/models/puppetclass.rb

Actions

Also available in: Atom PDF