Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Clearing history using modal now clears bookmark timestamps #3501

Merged
merged 1 commit into from
Aug 28, 2016
Merged

Clearing history using modal now clears bookmark timestamps #3501

merged 1 commit into from
Aug 28, 2016

Conversation

bsclifton
Copy link
Member

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Ran git rebase -i to squash commits if needed.

Fixes #3346

@@ -372,7 +372,13 @@ module.exports.filterSitesRelativeTo = function (sites, relSite) {
* @param sites The application state's Immutable sites list.
*/
module.exports.clearSitesWithoutTags = function (sites) {
Copy link
Member

Choose a reason for hiding this comment

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

Pls update the name of this function and comment because it's a bit misleading. I'll merge this but just commit something directly with an auditor: @bbondy message.
It filters out sites without tags, but it also clears last accessed time on the sites that do have tags.
I'd maybe call it clearHistory and then describe both actions in the comment.

@bbondy
Copy link
Member

bbondy commented Aug 28, 2016

++

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants