Log message #4020958

# At Username Text
# Apr 28th 2017, 11:43 burzum Create a ticket please, I'm, in the middle of a fucking routing issue right now :(
# Apr 28th 2017, 11:43 Neon1024 Perhaps the Search.Prg component is interacting with it
# Apr 28th 2017, 11:42 Neon1024 burzum, I’m having real trouble following the code though so that I can have the filter update when it changes.
# Apr 28th 2017, 11:37 grandfelix I need to create query like this. How I could make join and then subquery with cakephp 3 orm ?
# Apr 28th 2017, 11:36 grandfelix hi
# Apr 28th 2017, 11:27 inoas which is btw really a bad name... should be label or displayField ... keyField is really the value - IMHO
# Apr 28th 2017, 11:27 inoas then you just use that as valueField
# Apr 28th 2017, 11:27 inoas and then apply that to the returned string
# Apr 28th 2017, 11:26 inoas in my $_virtualField with method _getFullDisplayField() I do if ($this->has('user')) {$user = $this->get('user')->get('username');}
# Apr 28th 2017, 11:25 inoas johnwayne formatResults, entities
# Apr 28th 2017, 11:22 inoas build an auto-resolver for browser locales because I am trying to do first-level/true object links (so that they can be translated, controlled-404-ed etc)
# Apr 28th 2017, 11:22 inoas the ORM is pure <3
# Apr 28th 2017, 11:21 inoas it is kind of a bit weirdo interface but it does work <3 :)
# Apr 28th 2017, 11:02 lorenzo good you could figure it out :slightly_smiling_face:
# Apr 28th 2017, 11:02 lorenzo I was on holidays, that’s why I did nt read messages here
# Apr 28th 2017, 11:01 lorenzo hey ionas!
# Apr 28th 2017, 10:59 johnwayne Does anybody know how can I create list in cakephp with keyField from one table and valueField from another.... here is my query https://pastebin.com/6kqaCarF
# Apr 28th 2017, 10:56 inoas lorenzo if you still read this: Found it out, it just takes an array... the moment you struggle and ask, you find out.
# Apr 28th 2017, 10:56 Neon1024 I guess that ticket can be resolved then :)
# Apr 28th 2017, 10:55 burzum See L24 of the component and L109
# Apr 28th 2017, 10:55 Neon1024 Ah cool, thanks, I’m reading the source code and none of the config options are documented
# Apr 28th 2017, 10:54 burzum pass ?preserve=0 and redirect to the same page you're on and they're gone
# Apr 28th 2017, 10:54 Neon1024 Well, ideally I’d like to clear the filters for each controller
# Apr 28th 2017, 10:53 burzum Neon, you want to remove all filters, right?
# Apr 28th 2017, 10:52 inoas lorenzo is there some built-in way to do $query->addCase() and add multiple WHEN statements?
# Apr 28th 2017, 10:52 burzum Until I fixed what I just found my work mate has done :face_with_rolling_eyes:
# Apr 28th 2017, 10:52 Neon1024 Thanks!
# Apr 28th 2017, 10:52 burzum Some time next week maybe
# Apr 28th 2017, 10:52 burzum I can put it in the plugin but not today
# Apr 28th 2017, 10:51 burzum We have a helper for the filters by the way
# Apr 28th 2017, 10:49 Neon1024 I might fork it then and make my changes :)
# Apr 28th 2017, 10:49 Neon1024 I tend to treat stuff by you guys as pretty much fine
# Apr 28th 2017, 10:49 Neon1024 Interesting
# Apr 28th 2017, 10:47 burzum But until they come up with something related to this again I'll threat it like poison :slightly_smiling_face:
# Apr 28th 2017, 10:46 burzum You could store the params in the browsers local storage for the site and apply them via JS probably as well. This should work across tabs.
# Apr 28th 2017, 10:45 dereuromark fair enough
# Apr 28th 2017, 10:44 inoas https://gist.github.com/inoas/660c7419ffe2c9bdb378c50880bc6d38#gistcomment-2077188
# Apr 28th 2017, 10:44 burzum If marketing ever figures this issue out it's going to be fun. But until then: Screw it.
# Apr 28th 2017, 10:44 inoas How can I add multiple WHEN statements inside of case?
# Apr 28th 2017, 10:44 burzum They don't want to pass around a hashed string in every single URL because it doesn't look good. Neither do I by the way. And I'm aware of the issues the implementation has but it's acceptable in our case.
# Apr 28th 2017, 10:42 dereuromark ;) nah, one day I will provide a plugin for this - belieeeeve meeeee - china