Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

burned42
Copy link
Contributor

@burned42 burned42 commented Oct 27, 2017

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
Copy link

codecov bot commented Oct 27, 2017

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 Files Coverage Δ Complexity Δ
apps/systemtags/js/systemtagsfilelist.js 73.27% <100%> (+0.23%) 0 <0> (ø) ⬇️

Copy link
Member

@danxuliu danxuliu left a comment

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
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
Member

Please review @nextcloud/javascript :-)

@burned42
Copy link
Contributor Author

@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 :)

Copy link
Member

@MorrisJobke MorrisJobke left a comment

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:stable12 Oct 30, 2017
@MorrisJobke MorrisJobke added this to the Nextcloud 12.0.4 milestone Oct 30, 2017
@MorrisJobke MorrisJobke mentioned this pull request Nov 20, 2017
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants