You are writing a new method for retrieving the level of the category in a category tree by its ID. You have a select query:

With the Staging functionality enabled, the returned category level value changes over time while the category tree stays the same. How do you fix this issue?
Delsie
3 months agoMarvel
3 months agoDaron
4 months agoMable
4 months agoCordell
4 months agoSalley
4 months agoDortha
4 months agoFernanda
5 months agoHoa
5 months agoArtie
5 months agoLakeesha
5 months agoCory
9 months agoYoko
10 months agoMarisha
8 months agoMelissa
8 months agoValentine
8 months agoWilda
10 months agoLaurel
8 months agoTina
9 months agoTabetha
9 months agoRueben
9 months agoFernanda
9 months agoDallas
10 months agoGregoria
10 months agoPatrick
10 months agoSelma
10 months agoJusta
10 months agoCristal
10 months agoFallon
10 months agoTish
10 months agoReuben
10 months agoYaeko
11 months agoTish
11 months agoCatarina
11 months agoTamra
11 months agoCatarina
11 months ago