Revert 396a47b6af
This commit is contained in:
parent
ccf0d010b4
commit
8f15cfb446
10 changed files with 30 additions and 104 deletions
|
|
@ -1,7 +1,8 @@
|
|||
class StockitController < ApplicationController
|
||||
|
||||
def index
|
||||
@stock_articles = StockArticle.elements_for_index
|
||||
@stock_articles = StockArticle.includes(:supplier, :article_category).
|
||||
order('suppliers.name, article_categories.name, articles.name')
|
||||
@stock_article_selection = StockArticleSelection.new
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue