From: Sascha Peilicke
Note: All calls to 'build_query_from_hash' with a fixed list of
supported parameters (speak: all) are designed to break the next time the
backend api changes. Maybe we should let the requests pass through to the
backend directly?
---
src/api/app/controllers/source_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/api/app/controllers/source_controller.rb b/src/api/app/controllers/source_controller.rb
index c54b567..447834f 100644
--- a/src/api/app/controllers/source_controller.rb
+++ b/src/api/app/controllers/source_controller.rb
@@ -1793,7 +1793,7 @@ class SourceController < ApplicationController
opackage_name = params[:opackage]
path = request.path
- path << build_query_from_hash(params, [:cmd, :rev, :oproject, :opackage, :orev, :expand, :unified, :linkrev, :olinkrev, :missingok, :meta])
+ path << build_query_from_hash(params, [:cmd, :rev, :orev, :oproject, :opackage, :expand ,:linkrev, :olinkrev, :unified ,:missingok, :meta, :file, :filelimit, :tarlimit, :view])
pass_to_backend path
end
--
1.7.7
--
To unsubscribe, e-mail: obs-commits+unsubscribe@opensuse.org
To contact the owner, e-mail: obs-commits+owner@opensuse.org