mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Updated comment (#17718)
no issue
- added some more info to the comment
- found the actual issue that needed the admin p0 fix last night.
Updated the comment info block with a link to that issue.
<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at bcec294</samp>
Updated a comment in `members.js` to link to a possible NQL issue. This
helps explain the temporary fix for filtering members by labels with
parentheses.
This commit is contained in:
parent
e0ab167b94
commit
09bcc1f31a
1 changed files with 2 additions and 2 deletions
|
@ -238,9 +238,9 @@ export default class MembersController extends Controller {
|
|||
getApiQueryObject({params, extraFilters = []} = {}) {
|
||||
let {label, paidParam, searchParam, filterParam} = params ? params : this;
|
||||
|
||||
// NOTE: this is a temporary fix to help where the API isn't handling the parentheses correctly
|
||||
// NOTE: this is a temporary fix to help where the API/NQL isn't handling the parentheses correctly
|
||||
// It's potentially a deeper issue with NQL. This should be removed once the API is fixed.
|
||||
// refs https://ghost.slack.com/archives/C05EQPTMEP7/p1692025845788769
|
||||
// This could be related https://github.com/TryGhost/NQL/issues/16
|
||||
if (filterParam) {
|
||||
filterParam = this.refineFilterParam(filterParam);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue