I’m new Razuna and its forum. I would like search asserts (via API) only using its last modification date, without a Search Term, something analogous to *nix’s find -mtime. I’ve tried to do this on the front-end and I get a response saying that I need to enter a search term. Using the API I run into two problems:
The documentations says that the searchfor parameter is mandatory
A wildcard, either * or ?, cannot be the first character of the searchfor parameter.
Here is my metada:
Self-hosted
Razuna 1.6.2
Chrome Version 32.0.1700.77
MySQL 5.5.29
SUSE Linux
I’m afraid, that I can’t “help” you any further, because, just as the
documentation says, you have to enter a search term. We do not support a
search to return everything. That in itself is not a search anymore. If you
want for return all files, simple use the API to browse through folders.
Thank you so much for your quick answer! In the meantime I got around by searching by the file extension. In the spirit of constructive criticism, I don’t agree that a search only on the modification time is no a search. As I mentioned *nix offers the -mtime option for the find command that doesn’t require the -name option to work.
Happy to read that you found a workaround. One of the disadvantages of the
current search implementation is that it doesn’t allow to search with a
wildcard character as the first character. This is one of the main reasons,
why we have based our search “philosophy” around.
In any case, Razuna 2.0 will be based on a completely different stack and
will allow us to make changes, especially in the search.