HUE-2234 [core] Select first document or shared document tag by default
HUE-2234 [core] Select first document or shared document tag by default

Added logic to return the first available tag/project that has more than one document. If not available, it returns the history

vitan/hue,yongshengwang/hue,cloudera/hue,ChenJunor/hue,Peddle/hue,yoer/hue,nvoron23/hue,jayceyxc/hue,rahul67/hue,xiangel/hue,MobinRanjbar/hue,vmax-feihu/hue,lumig242/Hue-Integration-with-CDAP,xq262144/hue,todaychi/hue,yoer/hue,hdinsight/hue,dulems/hue,Peddle/hue,hdinsight/hue,lumig242/Hue-Integration-with-CDAP,Peddle/hue,GitHublong/hue,abhishek-ch/hue,javachengwc/hue,epssy/hue,vitan/hue,kawamon/hue,abhishek-ch/hue,GitHublong/hue,MobinRanjbar/hue,jjmleiro/hue,jounex/hue,dulems/hue,kawamon/hue,MobinRanjbar/hue,jjmleiro/hue,GitHublong/hue,fangxingli/hue,erickt/hue,rahul67/hue,xiangel/hue,x303597316/hue,kawamon/hue,kawamon/hue,xiangel/hue,ChenJunor/hue,todaychi/hue,pratikmallya/hue,azureplus/hue,jjmleiro/hue,ahmed-mahran/hue,azureplus/hue,ahmed-mahran/hue,hdinsight/hue,erickt/hue,jounex/hue,dulems/hue,dulems/hue,abhishek-ch/hue,kawamon/hue,jjmleiro/hue,sanjeevtripurari/hue,GitHublong/hue,rahul67/hue,kawamon/hue,vitan/hue,abhishek-ch/hue,todaychi/hue,rahul67/hue,yoer/hue,erickt/hue,yongshengwang/hue,ChenJunor/hue,pratikmallya/hue,cloudera/hue,xq262144/hue,cloudera/hue,azureplus/hue,ChenJunor/hue,cloudera/hue,fangxingli/hue,lumig242/Hue-Integration-with-CDAP,vmax-feihu/hue,xq262144/hue,todaychi/hue,vitan/hue,kawamon/hue,fangxingli/hue,cloudera/hue,todaychi/hue,jounex/hue,javachengwc/hue,kawamon/hue,ahmed-mahran/hue,cloudera/hue,xq262144/hue,ahmed-mahran/hue,fangxingli/hue,jayceyxc/hue,pratikmallya/hue,Peddle/hue,jjmleiro/hue,sanjeevtripurari/hue,vmax-feihu/hue,javachengwc/hue,nvoron23/hue,mapr/hue,ChenJunor/hue,xiangel/hue,x303597316/hue,sanjeevtripurari/hue,javachengwc/hue,jjmleiro/hue,erickt/hue,pratikmallya/hue,pratikmallya/hue,mapr/hue,epssy/hue,erickt/hue,Peddle/hue,ahmed-mahran/hue,jounex/hue,dulems/hue,nvoron23/hue,jayceyxc/hue,jayceyxc/hue,epssy/hue,Peddle/hue,azureplus/hue,lumig242/Hue-Integration-with-CDAP,yoer/hue,abhishek-ch/hue,kawamon/hue,jayceyxc/hue,sanjeevtripurari/hue,kawamon/hue,fangxingli/hue,nvoron23/hue,cloudera/hue,jjmleiro/hue,hdinsight/hue,dulems/hue,GitHublong/hue,yongshengwang/hue,sanjeevtripurari/hue,pratikmallya/hue,rahul67/hue,abhishek-ch/hue,rahul67/hue,epssy/hue,ahmed-mahran/hue,jayceyxc/hue,fangxingli/hue,hdinsight/hue,Peddle/hue,MobinRanjbar/hue,mapr/hue,jounex/hue,ChenJunor/hue,mapr/hue,mapr/hue,yoer/hue,kawamon/hue,xiangel/hue,erickt/hue,kawamon/hue,cloudera/hue,MobinRanjbar/hue,vmax-feihu/hue,dulems/hue,cloudera/hue,todaychi/hue,ChenJunor/hue,lumig242/Hue-Integration-with-CDAP,sanjeevtripurari/hue,azureplus/hue,cloudera/hue,pratikmallya/hue,yongshengwang/hue,vitan/hue,cloudera/hue,cloudera/hue,cloudera/hue,jayceyxc/hue,ahmed-mahran/hue,x303597316/hue,xiangel/hue,epssy/hue,abhishek-ch/hue,jounex/hue,sanjeevtripurari/hue,kawamon/hue,ahmed-mahran/hue,cloudera/hue,x303597316/hue,cloudera/hue,javachengwc/hue,Peddle/hue,todaychi/hue,cloudera/hue,MobinRanjbar/hue,abhishek-ch/hue,xiangel/hue,sanjeevtripurari/hue,kawamon/hue,jayceyxc/hue,Peddle/hue,lumig242/Hue-Integration-with-CDAP,mapr/hue,rahul67/hue,yongshengwang/hue,nvoron23/hue,kawamon/hue,MobinRanjbar/hue,fangxingli/hue,mapr/hue,ChenJunor/hue,vitan/hue,vmax-feihu/hue,x303597316/hue,xq262144/hue,yongshengwang/hue,pratikmallya/hue,cloudera/hue,javachengwc/hue,x303597316/hue,yoer/hue,erickt/hue,javachengwc/hue,cloudera/hue,vitan/hue,vmax-feihu/hue,azureplus/hue,hdinsight/hue,kawamon/hue,javachengwc/hue,jounex/hue,vmax-feihu/hue,epssy/hue,xq262144/hue,jjmleiro/hue,xq262144/hue,fangxingli/hue,vmax-feihu/hue,todaychi/hue,azureplus/hue,vitan/hue,xq262144/hue,nvoron23/hue,yoer/hue,erickt/hue,kawamon/hue,lumig242/Hue-Integration-with-CDAP,x303597316/hue,x303597316/hue,dulems/hue,yongshengwang/hue,epssy/hue,hdinsight/hue,epssy/hue,lumig242/Hue-Integration-with-CDAP,jounex/hue,yoer/hue,nvoron23/hue,GitHublong/hue,azureplus/hue,todaychi/hue,jayceyxc/hue,GitHublong/hue,lumig242/Hue-Integration-with-CDAP,MobinRanjbar/hue,hdinsight/hue,GitHublong/hue,xiangel/hue,yongshengwang/hue,nvoron23/hue,xq262144/hue,jjmleiro/hue,rahul67/hue,kawamon/hue