Repository: incubator-atlas Updated Branches: refs/heads/0.8-incubating a2d1d86ea -> 08c60a204
ATLAS-1817.1 : UI :Fix for TagLayout page when tag is not associated with any entity. Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/08c60a20 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/08c60a20 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/08c60a20 Branch: refs/heads/0.8-incubating Commit: 08c60a2042beca57c289caa42f47c39a5bbd5db4 Parents: a2d1d86 Author: Kalyani <[email protected]> Authored: Tue May 30 15:53:26 2017 +0530 Committer: Kalyani <[email protected]> Committed: Tue May 30 18:13:47 2017 +0530 ---------------------------------------------------------------------- dashboardv2/public/js/views/search/SearchResultLayoutView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/08c60a20/dashboardv2/public/js/views/search/SearchResultLayoutView.js ---------------------------------------------------------------------- diff --git a/dashboardv2/public/js/views/search/SearchResultLayoutView.js b/dashboardv2/public/js/views/search/SearchResultLayoutView.js index 1c9320c..1198809 100644 --- a/dashboardv2/public/js/views/search/SearchResultLayoutView.js +++ b/dashboardv2/public/js/views/search/SearchResultLayoutView.js @@ -255,7 +255,7 @@ define(['require', if (!(that.ui.pageRecordText instanceof jQuery)) { return; } - if (that.searchCollection.models.length === 0) { + if (that.searchCollection.models.length === 0 && that.offset > that.limit) { that.ui.nextData.attr('disabled', true); that.offset = that.offset - that.limit; that.hideLoader();
