patent show field order

This commit is contained in:
Harry Bomrah 2016-04-06 20:11:45 +08:00
parent c662fd0ab5
commit 56163e6e27
1 changed files with 8 additions and 9 deletions

View File

@ -58,19 +58,18 @@ class PersonalPatentsController < ApplicationController
params = OrbitHelper.params params = OrbitHelper.params
plugin = Patent.where(:is_hidden=>false).find_by(uid: params[:uid]) plugin = Patent.where(:is_hidden=>false).find_by(uid: params[:uid])
fields_to_show = [ fields_to_show = [
"patent_category",
"year",
"publish_date",
"patent_title", "patent_title",
"patent_no", "patent_no",
"patent_organization", "patent_category",
"progress_status",
"application_date",
"end_date",
"publish_date",
"patent_country", "patent_country",
"authors",
"author_type", "author_type",
"application_date",
"publish_date",
"end_date",
"patent_organization",
"year",
"progress_status",
"authors",
"url", "url",
"language", "language",
"keywords", "keywords",