Skip to content

Commit

Permalink
Merge pull request #89 from golnazads/master
Browse files Browse the repository at this point in the history
removed start_nr and number_to_return
  • Loading branch information
golnazads committed Nov 14, 2019
2 parents 907f9a7 + a1e3c7f commit 29bbbed
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tugboat/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,10 +782,11 @@ def translate_results_subset(self, args):
6/11/2019 in the process of implementing unclassic we are adding these in """
number_to_return = args.pop('nr_to_return', None)
start_nr = args.pop('start_nr', None)
if number_to_return:
self.translation.params += '&rows=%s'%(number_to_return)
if start_nr:
self.translation.params += '&start=%s'%(start_nr)
# 11/13 From Alberto: Seems that’s what created the problem we are now seeing. I think we should remove it, right?
# if number_to_return:
# self.translation.params += '&rows=%s'%(number_to_return)
# if start_nr:
# self.translation.params += '&start=%s'%(start_nr)

# golnaz: hold off for now
# if number_to_return or start_nr:
Expand Down

0 comments on commit 29bbbed

Please sign in to comment.