Repository: incubator-atlas Updated Branches: refs/heads/master 1c3dcc07e -> 9d6ad848a
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/9d6ad848 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/9d6ad848 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/9d6ad848 Branch: refs/heads/master Commit: 9d6ad848abcf6cfd8bb9a2d2b790d45db1dcf9b0 Parents: 1c3dcc0 Author: Kalyani <[email protected]> Authored: Tue May 30 15:53:26 2017 +0530 Committer: Kalyani <[email protected]> Committed: Tue May 30 18:04:17 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/9d6ad848/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();
