Hi,
is there any possibility I can filter the bookings in wp-admin by ticket date?
My client needs to list all bookings made for a certain date/ticket of an event
and not only view them all at once.
Or any other route I can take for this?
Thank you,
Oliver

Oliver Efremov
Does anyone from support answer in less than 4 days? I’m a little disappointed…
Anyway, to add to the question above – is any custom paid work possible in case there is no workaround for this? My client is willing to pay for the customization but I’m not skilled enough to pull it up on my own.
Thanks, Oliver
-
This reply was modified 9 years, 3 months ago by
Oliver Efremov.

Oliver Efremov
Hi Oliuver,
I’m terribly sorry you hadnt got a reply until now.
Its already possible to filter by date. You can filter by event and then date at the top or alternatively click a date in the event column.
With a bit of custom development it’s possible to filter by ticket. Would being able to click a ticket name to filter by that ticket be acceotable to your client, or would need a search/filter like they have for dates?

Stephen Harris
Hi Stephen,
click a ticket name to filter by that ticket – is the exact thing the client wants, this will do the whole job for me 🙂
Is there any guidance you can give me on how to achieve this?
If not that easy, as I noted earlier, happy to receive an estimation an propose to the client if they want to do it.
Main thing is if it’s possible not to have to change the plugin files but rather do it as an add-on or best with theme functions.
The theme they use is Enfold.
Thank you very much!
Oliver

Oliver Efremov
Hi Oliver,
To do is you would need to replace the tickets column with one of your own, which is essentially the same but makes the ticket names links adding a ticket ID query variable to the current url. There’s a filter for adding/removing columns: https://codex.wordpress.org/Plugin_API/Filter_Reference/manage_$post_type_posts_columns
Then you would need to use the posts_clauses filter (https://codex.wordpress.org/Plugin_API/Filter_Reference/posts_clauses) to modify the query to restricted returned bookings by ticket ID (when filtering by ticket ID). You would need to join the tickets table to do this.
All this can be done without modifying any files. Nor is it too difficult but would require a working knowledge of the plugin to get it done quickly, so I shall send you an estimate later today.

Stephen Harris