Skip to content

Commit

Permalink
Rename 'search_query' to 'build_full_search_query'
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhoads committed Aug 18, 2023
1 parent b056e95 commit 30ac129
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ def self.stats_query(options = {})
def self.gql_query(query, options = {})
builder = Doi::GraphqlQuery::Builder.new(query, options)
__elasticsearch__.search(
builder.search_query
builder.build_full_search_query
)
end

Expand Down
2 changes: 1 addition & 1 deletion app/models/doi/graphql_query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def initialize(query, options)
@options = options
end

def search_query
def build_full_search_query
{
size: size,
search_after: search_after,
Expand Down

0 comments on commit 30ac129

Please sign in to comment.