preg_replace("/[^\d-.]+/", "", $vm_value)
in order to strip non numerical chars is KO. Replacing it with a preg_replace("/[^\d]+/", "", $vm_value)
is ok, I could send a pull request with that, and seems a quick fix ; nevertheless the "-." may be there for a reason. So, for now, if you develop with the latest homebrew php, many things are down, you cannot add a metadata through the interface, edit a user, and so on. OK for a pull request or is it a bad idea ?
@collectiveaccess let me give you more details:
about relationships, there are relations with multiple functions, for example, entities are linked by the relation of participation in events, or relation of prize, or production, or curationship of the event, that is, it would be necessary to search for relationships to filter these datasets. At the moment I can use displays to show this data but not to search an specific relations.
about users, we have a cataloging flow that involves several users, from different groups (text, iconographic, conservation) and to create cataloging statistics that help us to measure the working time by teams, we need to carry out these types of searche we need to carry out searches like that
I hope it has become clearer. In fact, we have a complex data repository: 88910 entities; 99702 documents, 10149 document parts; 70707 artworks, organized hierarchically in 4 fonds and 3 collections with 32 groups, 62 subgroups and 42 series...and this is only part of the documentation
@bzotivla What did you try?
You could do it like this:
code_facet = {
type = attribute,
element_code = code,
group_mode = alphabetical,
label_singular = _("code"),
label_plural = _("code")
}
Where did you make your changes in browse.conf? in app/conf or in app/conf/local of your PA-installation?
Hi, Suddenly we have a problem with login to our collective access (version 1.7.3). User is logged off immediately after successful login. Any help to solve this problem? Here is a snapshot of the log for a login attempt.
2/25/2019@12:06:59pm CET LOGF Failed login with redirect for user id '' (/ca_mjb_test/index.php/Dashboard/Index); IP=10.112.50.1; user agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36' Auth
2/25/2019@12:06:58pm CET LOGN Successful login for 'administrator'; IP=10.112.50.1; user agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36 Auth