Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0d1af90
move edit component and controls into edit folder
cr0ybot Oct 7, 2025
e3c03e7
remove hierarchical layout control
cr0ybot Oct 7, 2025
d4c73cc
remove hierarchical layout
cr0ybot Oct 7, 2025
ce4c9f0
Revert "remove hierarchical layout control"
cr0ybot Oct 7, 2025
7928067
fix max terms control all value
cr0ybot Oct 7, 2025
cf83912
break up "terms to show" into hierarchical and inherit controls, remo…
cr0ybot Oct 7, 2025
4eca79a
only include parent in query if not 0
cr0ybot Oct 7, 2025
9dccaf1
handle parent and hierarchical as mutually exclusive
cr0ybot Oct 7, 2025
f043e52
turn off hierarchical with inherit
cr0ybot Oct 7, 2025
bf37d81
Merge branch 'master' into update/terms-query-cleanup
cr0ybot Oct 7, 2025
a50a051
use setAttributes updater function
cr0ybot Oct 7, 2025
fb73926
move usePublicTaxonomies to shared utils file
cr0ybot Oct 7, 2025
9e29e72
taxonomy control single responsibility
cr0ybot Oct 7, 2025
b450519
order control single responsibility
cr0ybot Oct 7, 2025
7d5dcbb
empty terms control single responsibility
cr0ybot Oct 7, 2025
abf4d90
pass onChange directly when possible
cr0ybot Oct 7, 2025
d568af4
inherit control single responsibility
cr0ybot Oct 7, 2025
39f54af
hierarchy control single responsibility
cr0ybot Oct 7, 2025
1cd1049
rename hierarchy control to nested terms control to match empty terms…
cr0ybot Oct 7, 2025
904e70e
max terms control single responsibility
cr0ybot Oct 7, 2025
2f0af12
don't repeat labels
cr0ybot Oct 7, 2025
a96fffa
use "value" prop where appropriate
cr0ybot Oct 7, 2025
dd050ec
fix hierarchical=false on front end
cr0ybot Oct 7, 2025
0e35655
more verbose comment about setting parent vs nested terms
cr0ybot Oct 7, 2025
896e368
Revert changes to edit component
cr0ybot Oct 7, 2025
c1cd91f
add inherit=false to default termQuery
cr0ybot Oct 7, 2025
4d92669
simplify current_term_id conditional
cr0ybot Oct 7, 2025
491b66a
better comment about is_tax() check
cr0ybot Oct 7, 2025
a01713c
cleanup unnecessary comment
cr0ybot Oct 7, 2025
a4c4303
set parent from current term id regardless of whether it might be 0
cr0ybot Oct 7, 2025
fa4d46b
explicitly fall back to parent=0
cr0ybot Oct 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add inherit=false to default termQuery
  • Loading branch information
cr0ybot committed Oct 7, 2025
commit c1cd91f9f57aae3cd17c016dd2e431cc67aae225
3 changes: 2 additions & 1 deletion packages/block-library/src/terms-query/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"orderBy": "name",
"hideEmpty": true,
"parent": false,
"hierarchical": false
"hierarchical": false,
"inherit": false
}
},
"tagName": {
Expand Down
Loading