Skip to content

Commit

Permalink
we no longer care about closed date
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed Jun 15, 2024
1 parent f3608df commit 7174c03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions backend/model/reftracker_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def self.manuscript_offers(page = 1)
'client_name',
'question_format',
'question_update_datetime',
'question_closed_datetime',
]

# status of 700 is 'Closed successful' found this using /codetable?table=status
Expand All @@ -43,7 +42,7 @@ def self.manuscript_offers(page = 1)
# qtype of 100 is 'Offerer service' - new requirement
# db = 5 is a magic number from the original plugin.
# without it the api complains about missing a param called 'source'
# sortby = 3 is ClosedDate
# sortby = 3 is ClosedDate -- no longer using this

# last update: qnudt - can't sort by this so qno instead
# :sortby => '50' is question_no
Expand Down
4 changes: 0 additions & 4 deletions frontend/views/reftracker_offers/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<th><%= I18n.t('plugins.reftracker_offers.results.bib_udf_tb03') %></th>
<th><%= I18n.t('plugins.reftracker_offers.results.bib_title') %></th>
<th><%= I18n.t('plugins.reftracker_offers.results.question_text') %></th>
<th><%= I18n.t('plugins.reftracker_offers.results.question_closed_datetime') %></th>
</tr>

<% offers.each do |offer| %>
Expand All @@ -52,9 +51,6 @@
<td class="rto-td">
<%= offer['question_text'].html_safe %>
</td>
<td class="rto-td rto-nowrap">
<%= offer['question_closed_datetime'].split[0] %>
</td>
</tr>
<% end %>

Expand Down

0 comments on commit 7174c03

Please sign in to comment.