Skip to content
This repository has been archived by the owner on Nov 10, 2021. It is now read-only.

Fix information about showed entries below paginated table. Closes #R… #297

Merged
merged 1 commit into from
Jul 15, 2015

Conversation

lukas-vlcek
Copy link
Member

…HD-532.

@redhat-developer-ci
Copy link
Contributor

Can one of the admins verify this patch?

@redhat-developer-ci
Copy link
Contributor

Triggering build using a merge of 5459867 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/developer.redhat.com-pull-player-executor/

@redhat-developer-ci
Copy link
Contributor

Build 588 is now running using a merge of 5459867 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/developer.redhat.com-pull-player-executor/588

@LightGuard
Copy link
Member

retest this please

@LightGuard
Copy link
Member

Not sure why this isn't being picked up.

@paulrobinson
Copy link
Contributor

retest this please

@paulrobinson
Copy link
Contributor

There was a build for this: http://developers-pr.stage.redhat.com/pr/297/build/588/. Not sure why the reporting on here was lost.

@paulrobinson
Copy link
Contributor

@wesbos can you review? I agree with @lukas-vlcek's comment that it's probably better to move the calculations into the controller. Thoughts?

@wesbos
Copy link
Contributor

wesbos commented Jul 14, 2015

👍 good to go from a code pov

paulrobinson added a commit that referenced this pull request Jul 15, 2015
Fix information about showed entries below paginated table. Closes #R…
@paulrobinson paulrobinson merged commit e8a81d3 into redhat-developer:master Jul 15, 2015
// like: {{ Math.min(data.materials.length, paginate.currentPage * pagination.size) }}
// This might not be clean technique from Angular perspective (more clear would be
// to do all required calculations in controller and not the view)
$scope.Math = Math;
Copy link
Contributor

Choose a reason for hiding this comment

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

Goign to fix this - Math should not be passed into the scope

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
5 participants