-
Notifications
You must be signed in to change notification settings - Fork 84
Hackathon: Unify & complete criteria reference #2923
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
Conversation
You can use the Ancestor Search Criterion to create a list of breadcrumbs leading to the Location: | ||
|
||
``` php hl_lines="2" | ||
```php hl_lines="2-4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I add to add hl_lines
back and update it.
$query->query = new Criterion\IsUserBased(); | ||
``` | ||
|
||
### REST API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing this??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added back using the prompt
In docs/search/criteria_reference/isuserbased_criterion.md there was a REST example, can you add it back from 5.0 branch, please?
"Query": { | ||
"Filter": { | ||
"ContentIdCriterion": "HIDDEN" | ||
"VisibilityCriterion": "HIDDEN" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
AI is a motivated but stupid assistant who understands quickly but you may have to explain to it for a long time. |
Prompts:
A lot of noise in the output due to abstract classes but yet there is a listed interesting missing criterion.
IsContainer
For some reason, I didn't manage to have it treat all the files and I gave up.
_report.txt
"400 Bad Request" are due to not completed JSON from previous task.
Some lines just have the file name and the answer is missing.
But there is genuinely something wrong with
ImageFileSizeCriterion
, testing it manually, I also have "501 Not Implemented".Checklist