This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Krzysztof Kotlarek ad3ec5809f
FIX: Dismiss new with better migration (#12062)
Original PR was reverted because of broken migration https://github.com/discourse/discourse/pull/12058

I fixed it by adding this line
```
          AND topics.id IN(SELECT id FROM topics ORDER BY created_at DESC LIMIT :max_new_topics)
```

This time it is left joining a limited amount of topics. I tested it on few databases and it worked quite smooth
2021-02-15 08:50:33 +11:00
..
app FIX: Dismiss new with better migration (#12062) 2021-02-15 08:50:33 +11:00
config Sync up master with Ember CLI branch where possible (#11707) 2021-01-14 12:52:51 -05:00
public/assets/scripts DEV: Live reload styles in Ember CLI (#12043) 2021-02-11 10:36:34 -05:00
tests FIX: Dismiss new with better migration (#12062) 2021-02-15 08:50:33 +11:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
ember-cli-build.js Sync up master and Ember CLI branches again (#11746) 2021-01-18 16:12:45 -05:00
package.json Sync up master and Ember CLI branches again (#11746) 2021-01-18 16:12:45 -05:00
testem.js Sync up master and Ember CLI branches again (#11746) 2021-01-18 16:12:45 -05:00
yarn.lock DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00