#33 ajax based search in reports

closed
nobody
None
5
2012-11-18
2012-11-07
GlennGould
No

Hi Thomas,

now officially ;-):

Is it possible to add the very nice and usefull AJAX-based search, you've implemented recently for many sites of the admin-section to the reports also?

- Repository-Access: User/Group/Project, maybe Repository:Path also (not sure about the last one)
- Locked Users: Username/Name/GivenName
- Granted User Rights: Userid/Username maybe also Granted Rights for something like "Who's admin"? (again not sure about the last one)
- Show user: Username/Name/Givenname
- Show group: Groupname/Description

It's not a very high priority so don't force something if it turns out to be to much work.

Discussion

  • GlennGould
    GlennGould
    2012-11-14

    Hi Thomas,

    absolutely appreciate you work with the AJAX based search/sort/filter stuff, from my point of view a very nice improvement for SAM! Not sure, whether Mike already mentioned it, but is it a big deal, to match not only at the beginning of strings in that AJAX fields?

    Jan

     
  • Thomas Krieger
    Thomas Krieger
    2012-11-14

    Hi Jan,

    just give a regex a try. It should be possible (according to the code of the JavaScript library) to use regex for filtering like
    /^Something/

    I din't try it myself but would be glad to hear from you if it works as expected.

    Kind regards

    Thomas

     
  • Thomas Krieger
    Thomas Krieger
    2012-11-14

    Hi,

    just forget my last post :)

    Just checkout the branch. The regex mentioned before is genertated from the filter like /^filter/. So it's not a big deal to remove the ^ from the filter expression.

    Just test it and give me feedback please.

    Kind regards

    Thomas

     
  • GlennGould
    GlennGould
    2012-11-14

    Hi Thomas,

    good idea with regex - I've just had a closer look for the r323 - indeed I didn't look close enough: with that version, "Single Selection Fields" (exceptions are the ones for user and group report) already do match against patterns in the middle of strings by default. Filters on top of complex tables in the administration and report sections recognize patterns in the middle of a string with something like ".*atter.*" for example.

    Best regards - Jan

     
  • GlennGould
    GlennGould
    2012-11-14

    Hi Thomas,

    r324: filter fields on top of tables now recognize patterns in the middle of strings by without any regexpresions :-).

    Best,
    Jan

     
  • Thomas Krieger
    Thomas Krieger
    2012-11-18

    included in the next release.

     
  • Thomas Krieger
    Thomas Krieger
    2012-11-18

    • status: open --> closed