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

Jkmarx/fix dashboard search bugs #3202

Merged
merged 6 commits into from Feb 7, 2019
Merged

Conversation

jkmarx
Copy link
Member

@jkmarx jkmarx commented Feb 6, 2019

Resolves #2967
Also fixes this new bug with highlight
screen shot 2019-02-06 at 11 10 43 am

Fixed:
screen shot 2019-02-06 at 12 46 07 pm

@jkmarx jkmarx self-assigned this Feb 6, 2019
@jkmarx jkmarx added this to the Release 1.6.8 milestone Feb 6, 2019
@codecov
Copy link

codecov bot commented Feb 6, 2019

Codecov Report

Merging #3202 into develop will decrease coverage by 0.54%.
The diff coverage is 30%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #3202      +/-   ##
===========================================
- Coverage     62.7%   62.15%   -0.55%     
===========================================
  Files          440      440              
  Lines        28432    27774     -658     
  Branches      1288     1282       -6     
===========================================
- Hits         17829    17264     -565     
+ Misses       10603    10510      -93
Impacted Files Coverage Δ
...ce/js/dashboard/controllers/data-sets-card-ctrl.js 66.92% <30%> (-1.5%) ⬇️
refinery/core/models.py 79.2% <0%> (-2.64%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 15bf05c...2090ad3. Read the comment docs.

if (query && query.length > 1) {
vm.loadingDataSets = true;
var apiRequest = new DataSetSearchApi(query);
apiRequest(200).then(function (response) {
apiRequest(100).then(function (response) {
Copy link
Member

Choose a reason for hiding this comment

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

Not understanding the need for a 100 instead of a 200 here

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops, good catch. It's the number of ds returned.

@jkmarx jkmarx merged commit 14e3113 into develop Feb 7, 2019
@jkmarx jkmarx deleted the jkmarx/fix-dashboard-search-bugs branch February 7, 2019 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dashboard text search doesn't interact with paging
2 participants