Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add blacklight advances search, blacklight date ranges and order already #1993

Closed
wants to merge 16 commits into from

Conversation

orangewolf
Copy link
Member

to the gem file and configure them

app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
};

global.BlacklightRangeLimit = BlacklightRangeLimit;
}(this);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected an assignment or function call and instead saw an expression.

app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved
app/assets/javascripts/admin_font_select.js Outdated Show resolved Hide resolved



var min = max = BlacklightRangeLimit.parseNum(current_limit.find(".single").text())

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.
You might be leaking a variable (max) here.


if (plot && slider_el) {
slider_el.width(plot.width());
slider_el.css("display", "block")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.

placeholder_input.slider("setValue", values);
});

end_el.change( function() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'end_el' used out of scope.

begin_el.val(min);
end_el.val(max);

begin_el.change( function() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'begin_el' used out of scope.

@kirkkwang kirkkwang added the minor-ver for release notes label Sep 21, 2023
}

begin_el.val(min);
end_el.val(max);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'end_el' used out of scope.

});
}

begin_el.val(min);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'begin_el' used out of scope.


// Slider change should update text input values.
var parent = $(this).parent();
var form = $(parent).closest(".limit_content").find("form.range_limit");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'form' is already defined.


if (plot && slider_el) {
slider_el.width(plot.width());
slider_el.css("display", "block")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.

laritakr and others added 3 commits September 22, 2023 15:28
The previous build revealed that admin_color_select.js was missing. It also complained about missing semicolons.
appease the hound by formatting js file with semicolons.
// Grab the data from the ul div
var series_data = new Array();
var pointer_lookup = new Array();
var x_ticks = new Array();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The array literal notation [] is preferable.

// Grab the data from the ul div
var series_data = new Array();
var pointer_lookup = new Array();
var x_ticks = new Array();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The array literal notation [] is preferable.

// Grab the data from the ul div
var series_data = new Array();
var pointer_lookup = new Array();
var x_ticks = new Array();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The array literal notation [] is preferable.

kirkkwang and others added 4 commits September 25, 2023 13:11
Cause of build error. It's already being included in sass.
This commit will add additional setup to the catalog_controller_spec.
@ShanaLMoore
Copy link
Collaborator

I attempted to test this from hyku proper since adventist knapsack currently can't create works.

I see the date range facet displayed but entering dates creates an error:

image

image

@orangewolf
Copy link
Member Author

added with a different merge

@orangewolf orangewolf closed this Aug 19, 2024
@orangewolf orangewolf deleted the blacklight_advanced_and_range branch August 19, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants