-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SRF][Filtered] New view 'table' added #122
Conversation
That's really fantastic! Thanks for the effort. |
Nice! |
I am very excited about this. Very cool stuff! @gesinn-it It will be great if you could document this after the merge an smw.o. @JeroenDeDauw I guess this could also trigger a soonish SRF 2.3 release after merge? |
@kghbln : sure, I'll modify smw.o as soon as things are merged. |
undone clean up default for 'class' parameter. Should have 'wikitable sortable'...
👍 And I will poke @JeroenDeDauw when time comes to update smw.o so the example will work allrighty. Very excited, I am. |
@kghbln sure, we can do a 2.3 rel |
Any chance we could put the quick and/or default selection filter option in before a new release Stephan? No worries if not. Sent by Outlook for Android On Wed, Sep 9, 2015 at 11:27 AM -0700, "Jeroen De Dauw" notifications@github.com wrote: Reply to this email directly or view it on GitHub: |
I have submitted some small refactoring of this new code at https://github.com/gesinn-it/SemanticResultFormats/pull/1 (If it gets merged there, it will show up in this PR) |
This splits methods, removes not needed code and improves type inferrence.
Small refactoring of the new table view PHP code
+1 from my side. Would be more happy if the code was tested of course. Ping @mwjames |
@s7eph4n can you please have a look at this PR and merge? |
@gesinn-it Could you try if #127 works for you? It is a table view that I built for SRF 1.9 some time ago that seems to also work with SRF 2.2. |
@s7eph4n I can reproduce the issue that the table view is not working if multiple views are used. I'll have a look at it. |
SRF_FV_Table.php ... adding $resultArray->reset() fixed it for me:
@s7eph4n Can you directly add this line and see if it is working for you as well? |
Set the internal pointer of the array of SMWDataItem objects to its first element. This fixes an empty table issue in case the table view is added not as first view in a multiple views setting.
[SRF][Filtered] New view 'table' added
Looks good to me. |
Can you update the release notes? |
@JeroenDeDauw created PR with updated rel notes |
And it (#128) was merged. :) |
@JeroenDeDauw Ready for SRF 2.3? |
@kghbln , @JeroenDeDauw we should have PR #126 merged before the next release... |
Tracking in #129 |
@gesinn-it Besides the docu on smw.org, it would be marvellous to have a real sound example on smw.org. |
This will be nice indeed. I pinged @JeroenDeDauw to update smw.o Should not take to long. |
At gesinn.it, we've been working internally with a "table" view enhancement for the filtered view since a while. Our customers love it. We've polished it a bit and merged it with a recent version of SRF.
Format is tested on MW 1.25.2, SMW 2.2.2. No issues.
We'd like to contribute this back to SRF so that others can use it...