Skip to content

Commit 3eef697

Browse files
jazairiCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 42bf019 commit 3eef697

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/views/search/_trigger_browzine.html.erb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<% return unless ThirdIron.enabled? %>
22

3-
<% data_url = "/browzine?issn=#{issn}&full_record_url=#{ERB::Util.url_encode(full_record_url)}" %>
3+
<% query_params = { issn: issn } %>
4+
<% query_params[:full_record_url] = full_record_url if full_record_url.present? %>
5+
<% data_url = "/browzine?#{query_params.to_query}" %>
46

57
<span class="libkey-container"
68
data-controller="content-loader"

0 commit comments

Comments
 (0)