Skip to content

#6307 fix page title not changed (stable12) - #6987

Merged
MorrisJobke merged 2 commits into
nextcloud:stable12from
burned42:stable12-6307-fix_page_title_not_changed
Oct 30, 2017
Merged

#6307 fix page title not changed (stable12)#6987
MorrisJobke merged 2 commits into
nextcloud:stable12from
burned42:stable12-6307-fix_page_title_not_changed

Conversation

@burned42

@burned42burned42 commented Oct 27, 2017

Copy link
Copy Markdown
Contributor

Fixes#6307

Backport of #6869

With this changes the page title gets set when switching to file list and tag list.

@danxuliu here is the pull request to bring the bugfix also to stable12.

Signed-off-by: Bernd Stellwag <burned@zerties.org>
Signed-off-by: Bernd Stellwag <burned@zerties.org>
@codecov

codecovBot commented Oct 27, 2017

Copy link
Copy Markdown

Codecov Report

Merging #6987 into stable12 will increase coverage by <.01%.
The diff coverage is 100%.

@@ Coverage Diff @@## stable12 #6987 +/- ##
==============================================
+ Coverage 53.75% 53.75% +<.01% 
Complexity 22579 22579 ==============================================
Files 1384 1384 Lines 86623 86624 +1 Branches 1329 1329 ==============================================
+ Hits 46568 46569 +1 
Misses 40055 40055
Impacted FilesCoverage ΔComplexity Δ
apps/systemtags/js/systemtagsfilelist.js73.27% <100%> (+0.23%)0 <0> (ø)⬇️

@danxuliudanxuliu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested and works 👍

While reviewing this again I have noticed that the page title for the All files section was already working as expected without this patch (both in master and in stable12) due to the change introduced in #6683/#6689. However, as said in #6869 (comment), even if the call is redundant it makes the code more consistent with other file lists, so I am fine with merging this now and improving the overall file list code later.

@danxuliu

Copy link
Copy Markdown
Member

Thanks again, @burned42 :-D

By the way, as you may know, "Fixes #issueNumber" makes GitHub automatically close the referenced issue when the pull request is merged. In #6869 I changed your original comment from "Fixes #6307" to "Fixes (on master) #6307" to break the parsing and ensure that merging that pull request would not automatically close #6307, because it was filled against Nextcloud 12 but the pull request was for master. However, this pull request is for stable12, so I have changed "Fixes (on stable12) #6307" to "Fixes #6307" to ensure that it automatically closes the issue ;-)

I have also added "Backport of #6869" to ease tracking of the pull requests between branches :-)

@danxuliu

Copy link
Copy Markdown
Member

Please review @nextcloud/javascript :-)

@burned42

Copy link
Copy Markdown
ContributorAuthor

@danxuliu Apparently I didn't know that GitHub will automatically close the issue based on some specific text in the pull request. But I did notice that you changed the text in the other pull request and that is why I wrote it like that here. But thanks for clarifying and making the according changes :)

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested and works 👍

@MorrisJobke
MorrisJobke merged commit 0ce7187 into nextcloud:stable12Oct 30, 2017
@MorrisJobkeMorrisJobke added this to the Nextcloud 12.0.4 milestone Oct 30, 2017
@MorrisJobkeMorrisJobke mentioned this pull request Nov 20, 2017
1 task
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@burned42@danxuliu@MorrisJobke